zsh: new alias (rce)
This commit is contained in:
parent
0bb3b07b6f
commit
07d2fa4303
1 changed files with 7 additions and 4 deletions
11
.zshrc
11
.zshrc
|
@ -103,7 +103,7 @@
|
|||
|
||||
alias tm='tmux new -As0' # open a new session called 0, but if there is already a session called 0, connect to it
|
||||
|
||||
# List avalible X displays. Useful for finding what display to export when connected over ssh.
|
||||
# List available X displays. Useful for finding what display to export when connected over ssh.
|
||||
alias lsx='ls /tmp/.X11-unix | tr "X" ":"'
|
||||
|
||||
# Edit config files
|
||||
|
@ -135,6 +135,12 @@
|
|||
# backs up list of packages
|
||||
alias packback='comm -23 <(paru -Qqett | sort) <(paru -Qqg base -g base-devel | sort | uniq) > ~/pkglist.txt'
|
||||
|
||||
# thoroughly reset the terminal
|
||||
alias rce='reset && clear && exec zsh'
|
||||
|
||||
# find pretty much any file, quickly
|
||||
alias fds='fd --hidden --exclude /run'
|
||||
|
||||
# smart plug things
|
||||
SMART_PLUG_IP='192.168.1.250'
|
||||
alias l='tplink_smartplug.py -t $SMART_PLUG_IP -c'
|
||||
|
@ -145,9 +151,6 @@
|
|||
ll='ls -lh' \
|
||||
lla='ls -lah' \
|
||||
|
||||
# find pretty much any file, quickly
|
||||
alias fds='fd --hidden --exclude /run'
|
||||
|
||||
# <<<
|
||||
# optionally source an external alias file
|
||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
|
||||
|
|
Loading…
Add table
Reference in a new issue