summaryrefslogtreecommitdiff
path: root/.config/fish/abbreviations.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish/abbreviations.fish')
-rw-r--r--.config/fish/abbreviations.fish85
1 files changed, 85 insertions, 0 deletions
diff --git a/.config/fish/abbreviations.fish b/.config/fish/abbreviations.fish
new file mode 100644
index 00000000..fef05dda
--- /dev/null
+++ b/.config/fish/abbreviations.fish
@@ -0,0 +1,85 @@
+# Update Arch
+abbr i 'sudo pacman -S'
+abbr r 'sudo pacman -R'
+abbr u 'sudo pacman -Syu'
+
+# Git
+abbr g 'git'
+abbr ga. 'git add .'
+abbr ga 'git add'
+abbr gb 'git branch'
+abbr gbd 'git branch -D'
+abbr gcm 'git commit -m'
+abbr gco 'git checkout'
+abbr gcob 'git checkout -b'
+abbr gcod 'git checkout development'
+abbr gi 'gitignore'
+abbr gm 'git merge'
+abbr gpl 'git pull'
+abbr gps 'git push'
+abbr gpsu 'git push -u origin master'
+abbr gs 'git status'
+abbr gc 'git clone'
+abbr gd 'git diff'
+abbr gcd 'git checkout develop'
+abbr gpd 'git pull origin develop'
+abbr gst 'git stash'
+abbr gsta 'git stash apply'
+
+# <a href="https://github.com/petervanderdoes/gitflow-avh">Git Flow AVH</a>
+abbr gf 'git flow'
+abbr gfi 'git flow init -d'
+
+abbr gff 'git flow feature'
+abbr gffs 'git flow feature start'
+abbr gfff 'git flow feature finish'
+abbr gffp 'git flow feature publish'
+abbr gfft 'git flow feature track'
+abbr gffco 'git flow feature checkout'
+
+abbr gfr 'git flow release'
+abbr gfrs 'git flow release start'
+abbr gfrf 'git flow release finish'
+abbr gfrp 'git flow release publish'
+abbr gfrt 'git flow release track'
+abbr gfrco 'git flow release checkout'
+
+abbr gfb 'git flow bugfix'
+abbr gfbs 'git flow bugfix start'
+abbr gfbf 'git flow bugfix finish'
+abbr gfbp 'git flow bugfix publish'
+abbr gfbt 'git flow bugfix track'
+abbr gfbco 'git flow bugfix checkout'
+
+abbr gfh 'git flow hotfix'
+abbr gfhs 'git flow hotfix start'
+abbr gfhf 'git flow hotfix finish'
+abbr gfhp 'git flow hotfix publish'
+abbr gfht 'git flow hotfix track'
+abbr gfhco 'git flow hotfix checkout'
+
+# LS
+abbr l 'ls'
+
+# NPM
+abbr ni 'npm install'
+abbr nis 'npm install --save'
+abbr nisd 'npm install --save-dev'
+abbr nig 'npm install -g'
+abbr np 'npm prune'
+abbr nl 'npm list'
+abbr nr 'npm remove'
+abbr nu 'npm update'
+abbr ns 'npm start'
+abbr nt 'npm test'
+
+# RM
+abbr rmr 'rm -r'
+abbr rmrf 'rm -rf'
+
+# Tar
+abbr tc 'tar czvf'
+abbr tx 'tar xzvf'
+
+# Other
+abbr pr 'ping rogs.me' \ No newline at end of file