Zsh
1
# Read function definition
2
whence -f ..
3
​
4
# See where the it was defined
5
whence -v
Copied!
1
# Bind comand to alt key
2
# alt+i will run 'a' command.
3
# \e means opt key
4
bindkey -s '\ei' '^Ua^M'
Copied!
1
# See what is binded to a key
2
# See what is binding to βŒƒ + E
3
bindkey '^E'
Copied!
1
# Run zsh without sourcing zshrc
2
zsh -f
Copied!
1
# Set alias to external command
2
alias fin='command fd'
Copied!
1
# List all bindings
2
bindkey
Copied!
Last modified 1yr ago
Copy link