summaryrefslogtreecommitdiff
path: root/fish/conf.d
diff options
context:
space:
mode:
authorJake Koroman <jake@jakekoroman.com>2026-06-21 13:08:03 -0400
committerJake Koroman <jake@jakekoroman.com>2026-06-21 13:08:03 -0400
commit991a7917ec010080467889b02bcd608c078f6a86 (patch)
tree191dbc790d2b4c04552fe6ce1ac6134547634aef /fish/conf.d
parente9621b453b83511b0601a904fe5752b152241e48 (diff)
add fish.
Diffstat (limited to 'fish/conf.d')
-rw-r--r--fish/conf.d/aliases.fish15
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