10 lines
376 B
Bash
10 lines
376 B
Bash
|
|
function nix-pkgversion {
|
|
readlink -f $(which $@) | cut -d"-" -f 2- | cut -d"/" -f 1
|
|
}
|
|
|
|
export PS1="\[\033[38;5;118m\]\u\[$(tput sgr0)\]@\[$(tput sgr0)\]\[\033[38;5;119m\]\h\[$(tput sgr0)\]:\[$(tput sgr0)\]\[\033[38;5;45m\][\w]\[$(tput sgr0)\]{\$?}\\$ \[$(tput sgr0)\]"
|
|
export XDG_DATA_HOME="$HOME/.local/share"
|
|
|
|
timeout 3 bash /home/adam/git/private/b1_motd/update_motd.sh
|