Rename fls alias to fl (and flsd to fld)
This commit is contained in:
parent
7f64e66c17
commit
3475b60493
3 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ set -g fish_color_valid_path normal
|
||||||
set -g fish_color_vcs 43d696
|
set -g fish_color_vcs 43d696
|
||||||
set -g fish_color_vcs_braces 29bc7d
|
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_gpg gpg2
|
||||||
set -g _fish_abbr_vi vim
|
set -g _fish_abbr_vi vim
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function fsld
|
function fld
|
||||||
fossil diff $argv -N | colordiff | less -FRX
|
fossil diff $argv -N | colordiff | less -FRX
|
||||||
end
|
end
|
4
zshrc
4
zshrc
|
@ -204,9 +204,9 @@ make() {
|
||||||
alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"
|
alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"
|
||||||
|
|
||||||
if which fossil &>/dev/null; then
|
if which fossil &>/dev/null; then
|
||||||
alias fsl="fossil"
|
alias fl="fossil"
|
||||||
|
|
||||||
fsld() {
|
fld() {
|
||||||
if which colordiff &>/dev/null; then
|
if which colordiff &>/dev/null; then
|
||||||
fossil diff -N "$@" | colordiff | less -FRX
|
fossil diff -N "$@" | colordiff | less -FRX
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue