added support for vibeadmin.de
This commit is contained in:
9
bashrc
9
bashrc
@@ -3,6 +3,15 @@ function nix-pkgversion {
|
||||
readlink -f $(which $@) | cut -d"-" -f 2- | cut -d"/" -f 1
|
||||
}
|
||||
|
||||
function ai_validator {
|
||||
if [ -z "$1" ]; then
|
||||
last_command=$(history 2 | head -1 | sed 's/^[ ]*[0-9]*[ ]*//')
|
||||
timeout 3 bash /home/adam/git/private/syntax_validator/ai_validator.sh "${last_command}"
|
||||
else
|
||||
timeout 3 bash /home/adam/git/private/syntax_validator/ai_validator.sh "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user