diff options
| author | Syndamia <kamen@syndamia.com> | 2023-01-23 17:57:32 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2023-01-23 17:57:32 +0200 |
| commit | fb5f520742594cee8c35913be3542ca06df9f1aa (patch) | |
| tree | 7cc81aad4f80da479c2b15d69270fad822d6f9a2 /mll-linuxgraphy-setup.sh | |
| parent | 6ffc09d69ca5063615b7cfd80e1ceb6022099f7a (diff) | |
| download | application-setup-fb5f520742594cee8c35913be3542ca06df9f1aa.tar application-setup-fb5f520742594cee8c35913be3542ca06df9f1aa.tar.gz application-setup-fb5f520742594cee8c35913be3542ca06df9f1aa.zip | |
[mll/lbs] bashrc comments are now on the same line as their command
Diffstat (limited to 'mll-linuxgraphy-setup.sh')
| -rwxr-xr-x | mll-linuxgraphy-setup.sh | 20 |
1 files changed, 6 insertions, 14 deletions
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 |
