summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/:.fish1
-rw-r--r--functions/@.fish1
-rw-r--r--functions/groot.fish1
-rw-r--r--functions/ll.fish2
-rw-r--r--functions/pkill.fish1
5 files changed, 5 insertions, 1 deletions
diff --git a/functions/:.fish b/functions/:.fish
new file mode 100644
index 0000000..a2c9b03
--- /dev/null
+++ b/functions/:.fish
@@ -0,0 +1 @@
+alias ':'='math'
diff --git a/functions/@.fish b/functions/@.fish
new file mode 100644
index 0000000..68fbba4
--- /dev/null
+++ b/functions/@.fish
@@ -0,0 +1 @@
+alias '@'='math --base=16'
diff --git a/functions/groot.fish b/functions/groot.fish
new file mode 100644
index 0000000..2bb58fb
--- /dev/null
+++ b/functions/groot.fish
@@ -0,0 +1 @@
+alias groot="cd (git rev-parse --show-toplevel)"
diff --git a/functions/ll.fish b/functions/ll.fish
index 2a824a1..963ad19 100644
--- a/functions/ll.fish
+++ b/functions/ll.fish
@@ -1,3 +1,3 @@
function ll -d "ls long mode"
- ls -AlF $argv
+ exa -lF $argv
end
diff --git a/functions/pkill.fish b/functions/pkill.fish
new file mode 100644
index 0000000..40ab79d
--- /dev/null
+++ b/functions/pkill.fish
@@ -0,0 +1 @@
+alias pkill='pkill -9'