diff --git a/fish/config.fish b/fish/config.fish index 3f34e48..faaf17f 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -23,7 +23,7 @@ set -g fish_color_valid_path normal set -g fish_color_vcs 43d696 set -g fish_color_vcs_braces 29bc7d -set -g _fish_abbr_fsl fossil +set -g _fish_abbr_fl fossil set -g _fish_abbr_gpg gpg2 set -g _fish_abbr_vi vim diff --git a/fish/functions/fsld.fish b/fish/functions/fld.fish similarity index 79% rename from fish/functions/fsld.fish rename to fish/functions/fld.fish index b8e7b67..a612b5f 100644 --- a/fish/functions/fsld.fish +++ b/fish/functions/fld.fish @@ -1,3 +1,3 @@ -function fsld +function fld fossil diff $argv -N | colordiff | less -FRX end diff --git a/zshrc b/zshrc index a0b5248..abb20a0 100644 --- a/zshrc +++ b/zshrc @@ -204,9 +204,9 @@ make() { alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" if which fossil &>/dev/null; then - alias fsl="fossil" + alias fl="fossil" - fsld() { + fld() { if which colordiff &>/dev/null; then fossil diff -N "$@" | colordiff | less -FRX else