Reworked BASH-Prompt
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
PS1='\[\033[44;37m\]'$(printf '_%.0s' $(seq 1 $(tput cols)))'\[\033[1;0m\]\r\n\t \w :\n\$ '
|
||||
PS1='\[\033]0;\u - \w\007\]\[\033[44;37m\]'$(printf '_%.0s' $(seq 1 $(tput cols)))'\[\033[1;0m\]\r\n\t \w :\n\$ '
|
||||
[[ -f ~/.bash_prompt ]] && . ~/.bash_prompt
|
||||
alias mv="mv -vi"
|
||||
alias cp="cp -vi"
|
||||
alias '+'='pushd .'
|
||||
alias -- '-'='popd'
|
||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
alias pushalert='pushover --title "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
[[ -f ~/.shell_aliases ]] && . ~/.shell_aliases
|
||||
[[ -f ~/.config/z.sh ]] && . ~/.config/z.sh
|
||||
[[ -f ~/.oh-my-zsh/plugins/z/z.sh ]] && . ~/.oh-my-zsh/plugins/z/z.sh && set $_Z_OWNER=$(whoami)
|
||||
|
||||
Reference in New Issue
Block a user