shell: update aliases
This commit is contained in:
@@ -26,8 +26,8 @@ __prompt_command() {
|
||||
local EXIT="$?"
|
||||
export PS1="${HOST} ${DIR} ${GIT}${NEWLINE}"
|
||||
|
||||
local red_lambda='\[\033[0;31m\]λ>\[\033[00m\] '
|
||||
local green_lambda='\[\033[0;32m\]λ>\[\033[00m\] '
|
||||
local red_lambda='\[\033[0;31m\]>\[\033[00m\] '
|
||||
local green_lambda='\[\033[0;32m\]>\[\033[00m\] '
|
||||
|
||||
if [ $EXIT != 0 ]
|
||||
then
|
||||
@@ -40,6 +40,8 @@ __prompt_command() {
|
||||
# ============================== vi-Mode
|
||||
set -o vi
|
||||
|
||||
bind -x '"\C-l": clear'
|
||||
|
||||
# ============================== Source other definitions
|
||||
[ -f ~/.shellrc.alias ] && source ~/.shellrc.alias
|
||||
[ -f ~/.shellrc.local ] && source ~/.shellrc.local
|
||||
|
||||
Reference in New Issue
Block a user