From fb5f520742594cee8c35913be3542ca06df9f1aa Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 23 Jan 2023 17:57:32 +0200 Subject: [mll/lbs] bashrc comments are now on the same line as their command --- mll-linuxgraphy-setup.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'mll-linuxgraphy-setup.sh') diff --git a/mll-linuxgraphy-setup.sh b/mll-linuxgraphy-setup.sh index bf478d3..4fbb4dd 100755 --- a/mll-linuxgraphy-setup.sh +++ b/mll-linuxgraphy-setup.sh @@ -51,21 +51,13 @@ nobody:x:65534:65534::/dev/null:/bin/false EOF tee /etc/bashrc << EOF >/dev/null -# Prompt to the left of cursor -export PS1='[\u] j:\j e:\$? \w \\$ ' +export PS1='[\u] j:\j e:\$? \w \\$ ' # Prompt to the left of cursor -# UpArrow autocompletes partial history -bind '"\e[A":history-search-backward' -# DownArrow autocompletes partial history -bind '"\e[B":history-search-forward' - -# Ctrl+RightArrow jumps to next word -bind '"\e[1;5C":forward-word' -# Ctrl+LeftArrow jumps to predvious word -bind '"\e[1;5D":backward-word' - -# Ctrl+BackSpace deletes an entire word -bind '"\C-h":backward-kill-word' +bind '"\e[A":history-search-backward' # UpArrow autocompletes partial history +bind '"\e[B":history-search-forward' # DownArrow autocompletes partial history +bind '"\e[1;5C":forward-word' # Ctrl+RightArrow jumps to next word +bind '"\e[1;5D":backward-word' # Ctrl+LeftArrow jumps to predvious word +bind '"\C-h":backward-kill-word' # Ctrl+BackSpace deletes an entire word clear cat /etc/motd -- cgit v1.2.3