Remove useless shell aliases
This commit is contained in:
parent
e99326f179
commit
0b10c32e93
2 changed files with 0 additions and 19 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,5 @@
|
|||
*.swp
|
||||
.mypy_cache/
|
||||
__pycache__/
|
||||
.talismanrc
|
||||
.roles_played
|
||||
.vagrant/
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
|
||||
# aliases common to bash and zsh
|
||||
|
||||
# TALISMAN
|
||||
export TALISMAN_HOME="$HOME/.talisman/bin"
|
||||
alias talisman=$TALISMAN_HOME/talisman_linux_amd64
|
||||
export TALISMAN_INTERACTIVE=true
|
||||
|
||||
# color support
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
if [ -r ~/.dircolors ]; then
|
||||
|
@ -42,19 +37,6 @@ if [ -x /usr/bin/nvim ]; then
|
|||
alias vim='nvim'
|
||||
fi
|
||||
|
||||
# fuzzy cd
|
||||
fcd() {
|
||||
if [ -x /usr/bin/fzf ]; then
|
||||
local target
|
||||
target=$(fzf)
|
||||
cd "${target%/*}" || return
|
||||
fi
|
||||
}
|
||||
# fuzzy vim
|
||||
if [ -x /usr/bin/fzf ]; then
|
||||
alias fvim='vim $(fzf)'
|
||||
fi
|
||||
|
||||
# For common errors
|
||||
alias :q=' exit'
|
||||
alias :x=' exit'
|
||||
|
|
Loading…
Reference in a new issue