aboutsummaryrefslogtreecommitdiff
path: root/.config/fish/functions
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-22 20:57:50 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-22 20:57:50 +0530
commitf33bdbbc18e031e5e9881d14fc306b709aef3572 (patch)
tree5718c8e6ca0ea0c731b44217a33ca8fa487f0710 /.config/fish/functions
parente7e4d71e59973dba45bf63cd3db54d0bd6814572 (diff)
Pushing fish config
Diffstat (limited to '.config/fish/functions')
-rw-r--r--.config/fish/functions/da.fish3
-rw-r--r--.config/fish/functions/dc.fish3
-rw-r--r--.config/fish/functions/dcm.fish3
-rw-r--r--.config/fish/functions/dots.fish3
-rw-r--r--.config/fish/functions/dp.fish3
-rw-r--r--.config/fish/functions/ds.fish3
-rw-r--r--.config/fish/functions/la.fish3
-rw-r--r--.config/fish/functions/ls.fish3
-rw-r--r--.config/fish/functions/lsa.fish3
9 files changed, 27 insertions, 0 deletions
diff --git a/.config/fish/functions/da.fish b/.config/fish/functions/da.fish
new file mode 100644
index 0000000..b44316d
--- /dev/null
+++ b/.config/fish/functions/da.fish
@@ -0,0 +1,3 @@
+function da --wraps='dots add' --description 'alias da dots add'
+ dots add $argv;
+end
diff --git a/.config/fish/functions/dc.fish b/.config/fish/functions/dc.fish
new file mode 100644
index 0000000..a5fefb9
--- /dev/null
+++ b/.config/fish/functions/dc.fish
@@ -0,0 +1,3 @@
+function dc --wraps='dots commit' --description 'alias dc dots commit'
+ dots commit $argv;
+end
diff --git a/.config/fish/functions/dcm.fish b/.config/fish/functions/dcm.fish
new file mode 100644
index 0000000..5ba3d7e
--- /dev/null
+++ b/.config/fish/functions/dcm.fish
@@ -0,0 +1,3 @@
+function dcm --wraps='dots commit -m' --description 'alias dcm dots commit -m'
+ dots commit -m $argv;
+end
diff --git a/.config/fish/functions/dots.fish b/.config/fish/functions/dots.fish
new file mode 100644
index 0000000..29fd0e6
--- /dev/null
+++ b/.config/fish/functions/dots.fish
@@ -0,0 +1,3 @@
+function dots --wraps='git --git-dir=/home/zt/.dots/ --work-tree=/home/zt' --description 'alias dots git --git-dir=/home/zt/.dots/ --work-tree=/home/zt'
+ git --git-dir=/home/zt/.dots/ --work-tree=/home/zt $argv;
+end
diff --git a/.config/fish/functions/dp.fish b/.config/fish/functions/dp.fish
new file mode 100644
index 0000000..82018ca
--- /dev/null
+++ b/.config/fish/functions/dp.fish
@@ -0,0 +1,3 @@
+function dp --wraps='dots push' --description 'alias dp dots push'
+ dots push $argv;
+end
diff --git a/.config/fish/functions/ds.fish b/.config/fish/functions/ds.fish
new file mode 100644
index 0000000..32b0d2a
--- /dev/null
+++ b/.config/fish/functions/ds.fish
@@ -0,0 +1,3 @@
+function ds --wraps='dots status' --description 'alias ds dots status'
+ dots status $argv;
+end
diff --git a/.config/fish/functions/la.fish b/.config/fish/functions/la.fish
new file mode 100644
index 0000000..97d65b6
--- /dev/null
+++ b/.config/fish/functions/la.fish
@@ -0,0 +1,3 @@
+function la --wraps='exa -a' --description 'alias la exa -a'
+ exa -a $argv;
+end
diff --git a/.config/fish/functions/ls.fish b/.config/fish/functions/ls.fish
new file mode 100644
index 0000000..ebc6d05
--- /dev/null
+++ b/.config/fish/functions/ls.fish
@@ -0,0 +1,3 @@
+function ls --wraps='exa -l' --description 'alias ls exa -l'
+ exa -l $argv;
+end
diff --git a/.config/fish/functions/lsa.fish b/.config/fish/functions/lsa.fish
new file mode 100644
index 0000000..8ac8cb1
--- /dev/null
+++ b/.config/fish/functions/lsa.fish
@@ -0,0 +1,3 @@
+function lsa --wraps='exa -al' --description 'alias lsa exa -al'
+ exa -al $argv;
+end