Bring Home and End back to work

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-02-11 00:29:06 +01:00
parent 41ab786005
commit 48ce5c63e4
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -31,6 +31,10 @@ bindkey -e
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
## Ensure Home and End are working properly
bindkey "\033[1~" beginning-of-line
bindkey "\033[4~" end-of-line
## Aliases
alias alpine='docker run --rm -ti alpine /bin/sh'
alias bcrypt='python3 -c "import bcrypt; import sys; print(bcrypt.hashpw(sys.argv[1].encode(\"utf-8\"), bcrypt.gensalt(10)).decode(\"utf-8\"))"'