Last active
November 16, 2019 10:59
-
-
Save gsscoder/6466d661e66b09131f9c0d0945e386d5 to your computer and use it in GitHub Desktop.
Shell customizations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# common aliases | |
alias ll='ls -lha' | |
alias la='ls -A' | |
alias l='ls -CF' | |
# grep options | |
export GREP_OPTIONS="--color=always" | |
export GREP_COLOR="1;35;40" | |
# editor | |
export VISUAL=vim | |
autoload edit-command-line; zle -N edit-command-line | |
bindkey -M vicmd v edit-command-line | |
# history search | |
bindkey -v | |
bindkey '^R' history-incremental-search-backward | |
# line movement | |
bindkey '^A' beginning-of-line | |
bindkey '^E' end-of-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment