zshrc: use $HOME instead of hardcoding the user
This commit is contained in:
@@ -6,16 +6,16 @@ HISTSIZE=1000000
|
||||
SAVEHIST=1000000
|
||||
|
||||
# auto-cd into any of these dirs by typing them and pressing 'enter':
|
||||
hash -d 3rd="/home/colin/dev/3rd"
|
||||
hash -d dev="/home/colin/dev"
|
||||
hash -d knowledge="/home/colin/knowledge"
|
||||
hash -d nixos="/home/colin/nixos"
|
||||
hash -d nixpkgs="/home/colin/dev/3rd/nixpkgs"
|
||||
hash -d ref="/home/colin/ref"
|
||||
hash -d secrets="/home/colin/knowledge/secrets"
|
||||
hash -d tmp="/home/colin/tmp"
|
||||
hash -d uninsane="/home/colin/dev/uninsane"
|
||||
hash -d Videos="/home/colin/Videos"
|
||||
hash -d 3rd="$HOME/dev/3rd"
|
||||
hash -d dev="$HOME/dev"
|
||||
hash -d knowledge="$HOME/knowledge"
|
||||
hash -d nixos="$HOME/nixos"
|
||||
hash -d nixpkgs="$HOME/dev/3rd/nixpkgs"
|
||||
hash -d ref="$HOME/ref"
|
||||
hash -d secrets="$HOME/knowledge/secrets"
|
||||
hash -d tmp="$HOME/tmp"
|
||||
hash -d uninsane="$HOME/dev/uninsane"
|
||||
hash -d Videos="$HOME/Videos"
|
||||
|
||||
# emulate bash keybindings
|
||||
bindkey -e
|
||||
|
Reference in New Issue
Block a user