mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Merge branch 'master' of https://github.com/itsdrike/dotfiles
This commit is contained in:
commit
db3fe3ff43
|
@ -6,6 +6,7 @@ alias mdkir='mkdir'
|
||||||
alias soruce='source'
|
alias soruce='source'
|
||||||
alias souce='source'
|
alias souce='source'
|
||||||
alias suod='sudo '
|
alias suod='sudo '
|
||||||
|
alias sduo='sudo '
|
||||||
|
|
||||||
# Files/Directories
|
# Files/Directories
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
@ -67,9 +68,9 @@ alias rm='rm -v' # Verbose rm
|
||||||
# Python
|
# Python
|
||||||
alias py3='python3'
|
alias py3='python3'
|
||||||
alias py2='python2'
|
alias py2='python2'
|
||||||
alias py='ipython'
|
|
||||||
alias ipy='ipython'
|
alias ipy='ipython'
|
||||||
alias bpy='bpython'
|
alias bpy='bpython'
|
||||||
|
command -v ipython > /dev/null && alias py='ipython' || alias py='python'
|
||||||
|
|
||||||
# Fallbacks
|
# Fallbacks
|
||||||
command -v hd > /dev/null || alias hd="hexdump -C" # Cannonical hex dump; some systems have this symlinked
|
command -v hd > /dev/null || alias hd="hexdump -C" # Cannonical hex dump; some systems have this symlinked
|
||||||
|
@ -116,8 +117,8 @@ alias torify='source torsocks on' # Pass every command via torsocks
|
||||||
alias untorify='source torsocks off' # Stop passing commands via torsocks
|
alias untorify='source torsocks off' # Stop passing commands via torsocks
|
||||||
|
|
||||||
# Firewall aliases (IPTables/UFW)
|
# Firewall aliases (IPTables/UFW)
|
||||||
command -v ufw > /dev/null && alias firewall='ufw' || alias firewall='iptables'
|
|
||||||
command -v ufw > /dev/null && alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system journal
|
command -v ufw > /dev/null && alias ufw-log='journalctl -f -n 100 -g ufw' # Show UFW log entries in system journal
|
||||||
|
command -v ufw > /dev/null && alias firewall='ufw' || alias firewall='iptables'
|
||||||
alias ipt='iptables' # Shortcut
|
alias ipt='iptables' # Shortcut
|
||||||
alias iptlist='iptables -L -n -v --line-numbers' # All rules
|
alias iptlist='iptables -L -n -v --line-numbers' # All rules
|
||||||
alias iptlistin='iptables -L INPUT -n -v --line-numbers' # IN rules
|
alias iptlistin='iptables -L INPUT -n -v --line-numbers' # IN rules
|
||||||
|
@ -135,6 +136,7 @@ alias cpu-stress='for i in $(seq $(getconf _NPROCESSORS_ONLN)); do yes > /dev/nu
|
||||||
alias nvidia='__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia' # Run app with nvidia (on hybrid mode with optimus)
|
alias nvidia='__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia' # Run app with nvidia (on hybrid mode with optimus)
|
||||||
alias swapout='sudo swapoff -a; sudo swapon -a' # Reset swap (move everything to RAM)
|
alias swapout='sudo swapoff -a; sudo swapon -a' # Reset swap (move everything to RAM)
|
||||||
alias mount-ram='mount -t tmpfs tmpfs' # Mount RAM disk for fast filesystem
|
alias mount-ram='mount -t tmpfs tmpfs' # Mount RAM disk for fast filesystem
|
||||||
|
alias upload-journal='sudo journalctl -b -1 | curl -F "f:1=<-" ix.io' # Upload journalctl from last boot to ix.io
|
||||||
alias sv='systemctl'
|
alias sv='systemctl'
|
||||||
|
|
||||||
# Processes
|
# Processes
|
||||||
|
|
|
@ -19,6 +19,7 @@ pacman:
|
||||||
- ranger # Simple, vim-like file manager
|
- ranger # Simple, vim-like file manager
|
||||||
- rmlint # Tool for finding and removing duplicate files quickly
|
- rmlint # Tool for finding and removing duplicate files quickly
|
||||||
- links # Terminal text-only web browser
|
- links # Terminal text-only web browser
|
||||||
|
- lshw # List hardware components and their attributes
|
||||||
# ZSH + Plugins
|
# ZSH + Plugins
|
||||||
- zsh # shell
|
- zsh # shell
|
||||||
- zsh-syntax-highlighting # colored zsh
|
- zsh-syntax-highlighting # colored zsh
|
||||||
|
|
Loading…
Reference in a new issue