[+] automatic sudo, more replace
This commit is contained in:
+8
-3
@@ -29,8 +29,10 @@ modern-replace 'top' 'btop'
|
|||||||
modern-replace 'ping' 'gping'
|
modern-replace 'ping' 'gping'
|
||||||
modern-replace 'dig' 'dog'
|
modern-replace 'dig' 'dog'
|
||||||
modern-replace 'grep' 'rg'
|
modern-replace 'grep' 'rg'
|
||||||
# modern-replace 'curl' 'curlie'
|
modern-replace 'nano' 'micro'
|
||||||
|
modern-replace 'curl' 'curlie'
|
||||||
# modern-replace 'tree' 'broot'
|
# modern-replace 'tree' 'broot'
|
||||||
|
modern-replace 'pacman' 'paru'
|
||||||
|
|
||||||
# for macOS
|
# for macOS
|
||||||
modern-replace 'tar' 'gtar'
|
modern-replace 'tar' 'gtar'
|
||||||
@@ -58,8 +60,6 @@ alias ports='netstat -tulpn | grep LISTEN'
|
|||||||
alias findtxt='grep -IHrnws --exclude=\*.log -s '/' -e'
|
alias findtxt='grep -IHrnws --exclude=\*.log -s '/' -e'
|
||||||
|
|
||||||
alias cls='clear'
|
alias cls='clear'
|
||||||
alias sctl='systemctl'
|
|
||||||
alias jctl='journalctl'
|
|
||||||
|
|
||||||
alias tar-create='tar -cvf'
|
alias tar-create='tar -cvf'
|
||||||
alias tar-expand='tar -zxvf'
|
alias tar-expand='tar -zxvf'
|
||||||
@@ -100,6 +100,11 @@ alias old-update-ssh-keys="curl -L https://github.com/Hykilpikonna.keys > ~/.ssh
|
|||||||
|
|
||||||
alias tar-kill-progress="watch -n 60 killall tar -SIGUSR1"
|
alias tar-kill-progress="watch -n 60 killall tar -SIGUSR1"
|
||||||
|
|
||||||
|
# Automatic sudo
|
||||||
|
alias sctl="sudo systemctl"
|
||||||
|
alias jctl="sudo journalctl"
|
||||||
|
alias ufw="sudo ufw"
|
||||||
|
|
||||||
# Gradle with auto environment detection
|
# Gradle with auto environment detection
|
||||||
GRADLE="$(which gradle)"
|
GRADLE="$(which gradle)"
|
||||||
gradle() {
|
gradle() {
|
||||||
|
|||||||
Reference in New Issue
Block a user