aboutsummaryrefslogtreecommitdiff
path: root/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish/functions/cat.fish3
-rw-r--r--fish/functions/rm.fish3
2 files changed, 6 insertions, 0 deletions
diff --git a/fish/functions/cat.fish b/fish/functions/cat.fish
new file mode 100644
index 0000000..73b5541
--- /dev/null
+++ b/fish/functions/cat.fish
@@ -0,0 +1,3 @@
+function cat --wraps=bat --description 'alias cat bat'
+ bat $argv
+end
diff --git a/fish/functions/rm.fish b/fish/functions/rm.fish
new file mode 100644
index 0000000..7d8fe20
--- /dev/null
+++ b/fish/functions/rm.fish
@@ -0,0 +1,3 @@
+function rm --wraps=trash --description 'alias rm trash'
+ trash $argv
+end