Now reading aliases and hotkeys

This commit is contained in:
Justine Pelletreau
2023-02-17 18:12:39 +01:00
parent 344f14c86f
commit 6abe6d886d
2 changed files with 36 additions and 3 deletions

View File

@ -24,3 +24,13 @@
#For example $RGB|108|84|30_ gives you an ugly shade of brown
prompt: "$COLORLBLACK_ !$HISTNUMBER_$COLORCYAN_[$USER_@$HOSTNAME_]$RGB|125|0|125_$DIR_> $COLORRESET_"
#Classic aliases
aliases:
gcl: git clone
gpl: git pull
#Hotkeys : When pressing Alt + the letter (a, b... up to y), enters the text inside the command
#Alt + Z Cancels last hotkey
hotkeys:
a: "| less"
b: "exit"