diff options
Diffstat (limited to 'fish/conf.d/aliases.fish')
| -rw-r--r-- | fish/conf.d/aliases.fish | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fish/conf.d/aliases.fish b/fish/conf.d/aliases.fish new file mode 100644 index 0000000..ec138fd --- /dev/null +++ b/fish/conf.d/aliases.fish @@ -0,0 +1,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 |
