summaryrefslogtreecommitdiff
path: root/mksh/mkshalias
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
committerzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
commitf39d735e2ba625a31a7dbf6fb8bdd62501379ad1 (patch)
treed17c96714c930e0b8bc75616cc9c81b961ed5aa0 /mksh/mkshalias
Initial Commit
Diffstat (limited to 'mksh/mkshalias')
-rw-r--r--mksh/mkshalias50
1 files changed, 50 insertions, 0 deletions
diff --git a/mksh/mkshalias b/mksh/mkshalias
new file mode 100644
index 0000000..c43e240
--- /dev/null
+++ b/mksh/mkshalias
@@ -0,0 +1,50 @@
+#!/bin/mksh
+## CD Ups
+alias ...='cd ../..'
+alias ....='cd ../../..'
+alias .....='cd ../../../..'
+alias ......='cd ../../../../..'
+alias .......='cd ../../../../../..'
+alias ........='cd ../../../../../../..'
+
+## Base Utils
+alias ls="ls -h --color='auto' --group-directories-first"
+alias ll='ls -l'
+alias la='ls -A'
+alias lla='ls -la'
+alias md='mkdir -p'
+alias ch='cd $HOME'
+alias exa='exa --group-directories-first -a'
+alias exla='exa -l'
+
+## Change utils
+alias rm='rm -i'
+alias cp='cp -i'
+
+## git stuff
+alias gs='git status'
+alias commit='git commit -S -m'
+alias ga='git add -A'
+
+## Internet
+alias weather='curl http://wttr.in/Pearland'
+
+## Single Chars
+alias r='cd ~ && clear && exec zsh'
+alias e='source $ENV'
+alias i='sudo ~/scripts/install.sh'
+alias q='exit'
+alias c='clear'
+alias m='make'
+
+## SSH
+alias sshz='ssh zachir@therealir.xyz'
+
+## Programming
+# Rust
+alias crr='cargo run --release'
+alias cbr='cargo build --release'
+
+## Arch Linux aliases --sudoloop
+#alias yay='yay --sudo doas'
+alias yu='yay -Syu --noconfirm'