shell: update aliases

This commit is contained in:
Marco Thomas
2023-09-28 09:08:49 +00:00
parent f041223352
commit ead5f9ba11
4 changed files with 25 additions and 21 deletions

View File

@@ -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