1
0
mirror of https://github.com/alrayyes/server-dotfiles synced 2023-11-14 15:56:25 +00:00

Replaced alias with abbr

This commit is contained in:
Ryan Kes 2020-06-23 14:51:01 +02:00
parent ce42703957
commit 1fe01ab0e4

View File

@ -39,22 +39,22 @@ set -xg RUSTUP_HOME ~/.local/share/rustup
set -xg GOPATH ~/.local/share/go set -xg GOPATH ~/.local/share/go
# nvim alias # nvim alias
alias v="nvim" abbr --add v "nvim"
alias sv="sudo nvim" abbr --add sv "sudo nvim"
# ls alias # ls alias
alias ls="exa" abbr --add ls "exa"
alias l="exa -al" abbr --add l "exa -al"
# git alaises # git alaises
alias gpoat="git push origin --all && git push origin --tags" abbr --add gpoat "git push origin --all && git push origin --tags"
alias gs="git status" abbr --add gs "git status"
alias gd="git diff" abbr --add gd "git diff"
alias g="git" abbr --add g "git"
# Prevent mv & rm oopsies # Prevent mv & rm oopsies
alias mv="mv -i" abbr --add mv "mv -i"
alias rm="rm -i" abbr --add rm "rm -i"
# Load lfcd wiith proper icons # Load lfcd wiith proper icons
function lf function lf
@ -222,7 +222,7 @@ end
# bat # bat
alias bat="batcat" abbr --add bat "batcat"
# Set fzf keybindings here for now as they don't work with stable version of omf https://github.com/jethrokuan/fzf/issues/109 # Set fzf keybindings here for now as they don't work with stable version of omf https://github.com/jethrokuan/fzf/issues/109
bind \co '__fzf_find_file' bind \co '__fzf_find_file'