update
This commit is contained in:
parent
2933bd1ead
commit
6f84d341bc
2 changed files with 5 additions and 13 deletions
13
aliases.sh
13
aliases.sh
|
|
@ -33,8 +33,6 @@ alias disk-usage='sudo du -h -d 2 .[^.]* * | sort -h'
|
|||
alias cs='lxc list -c ns4b,user.comment:comment'
|
||||
alias pc='pcmanfm . & disown'
|
||||
|
||||
alias media-window='bspc node -z top 0 +530'
|
||||
|
||||
# enable aliases for commands inside sudo
|
||||
# TOOD check this is safe
|
||||
alias sudo='sudo '
|
||||
|
|
@ -52,8 +50,6 @@ alias ee='nvim .'
|
|||
alias speak='/usr/local/src/kokora/speak'
|
||||
|
||||
alias debug.log='clear && echo "" > debug.log && tail -f debug.log'
|
||||
alias sx='env -u APPIMAGE -u APPDIR -u LD_LIBRARY_PATH -u XDG_DATA_DIRS /usr/bin/sxhkd -c /home/ray/.config/sxhkd/sxhkdrc /home/ray/.config/sxhkd/sxhkdrc.bspwm /home/ray/.config/sxhkd/sxhkdrc.bspwm.machineone &'
|
||||
|
||||
alias g='git status'
|
||||
alias gg='git add . && git commit -m "update" && git push'
|
||||
alias gitknow='cd ~/knowledge-base && git add . && git status && git commit -m update && git push ; cd -'
|
||||
|
|
@ -74,9 +70,9 @@ alias hgrep='history | grep --color=auto'
|
|||
|
||||
alias bc='bc -q -l'
|
||||
|
||||
alias ytdl='youtube-dl --write-info-json --write-description --no-playlist'
|
||||
alias ytdlb='youtube-dl --write-info-json --write-description --no-playlist -a'
|
||||
alias ytdl-mp3='youtube-dl -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata'
|
||||
alias ytdl='yt-dlp --write-info-json --write-description --no-playlist'
|
||||
alias ytdlb='yt-dlp --write-info-json --write-description --no-playlist -a'
|
||||
alias ytdl-mp3='yt-dlp -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata'
|
||||
|
||||
alias mac='ssh rya@192.168.0.67'
|
||||
alias pi4='ssh pi@192.168.0.11'
|
||||
|
|
@ -114,7 +110,8 @@ lfcd() {
|
|||
update() {
|
||||
echo -e "Executing \"${ALIASES_GREEN}pacman -Syu${ALIASES_NC}\" via \"${ALIASES_BLUE}archnews_wrap${ALIASES_NC}\" wrapper"
|
||||
|
||||
sudo ~/.src/archnews/archnews_wrap -Syu && cat /dev/null > /home/ray/.checkupdates
|
||||
sudo ~/.src/archnews/archnews_wrap -Syu \
|
||||
&& systemctl --user start --no-block package-status-refresh.service
|
||||
}
|
||||
|
||||
# functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue