summaryrefslogtreecommitdiff
path: root/fish/conf.d/aliases.fish
blob: ec138fdb1528b763ac97f07323d914aba81d80d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set ls_default_opts -hN --color=auto --group-directories-first

function e;	    command $EDITOR $argv                 ; end
function ls;    command ls $ls_default_opts $argv     ; end
function l;     command ls -l $ls_default_opts $argv  ; end
function ll;    command ls -la $ls_default_opts $argv ; end
function gs;    command git status $argv              ; end
function ga;    command git add $argv                 ; end
function gl;    command git log $argv                 ; end
function glo;   command git log --oneline $argv       ; end
function cp;    command cp -iv $argv                  ; end
function mv;    command mv -iv $argv                  ; end
function rm;    command rm -vI $argv                  ; end
function mkdir; command mkdir -pv $argv               ; end
function ip;    command ip --color=auto $argv         ; end