From 1fe01ab0e4327d3d84dac6b1ff27b201b1d9706a Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Tue, 23 Jun 2020 14:51:01 +0200 Subject: [PATCH] Replaced alias with abbr --- fish/.config/omf/init.fish | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/fish/.config/omf/init.fish b/fish/.config/omf/init.fish index e0cb303..d8deea1 100644 --- a/fish/.config/omf/init.fish +++ b/fish/.config/omf/init.fish @@ -39,22 +39,22 @@ set -xg RUSTUP_HOME ~/.local/share/rustup set -xg GOPATH ~/.local/share/go # nvim alias -alias v="nvim" -alias sv="sudo nvim" +abbr --add v "nvim" +abbr --add sv "sudo nvim" # ls alias -alias ls="exa" -alias l="exa -al" +abbr --add ls "exa" +abbr --add l "exa -al" # git alaises -alias gpoat="git push origin --all && git push origin --tags" -alias gs="git status" -alias gd="git diff" -alias g="git" +abbr --add gpoat "git push origin --all && git push origin --tags" +abbr --add gs "git status" +abbr --add gd "git diff" +abbr --add g "git" # Prevent mv & rm oopsies -alias mv="mv -i" -alias rm="rm -i" +abbr --add mv "mv -i" +abbr --add rm "rm -i" # Load lfcd wiith proper icons function lf @@ -222,7 +222,7 @@ end # 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 bind \co '__fzf_find_file'