diff --git a/aliases.sh b/aliases.sh index 63c1180..5d653c4 100644 --- a/aliases.sh +++ b/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 diff --git a/profile b/profile index e35f529..3753939 100644 --- a/profile +++ b/profile @@ -38,11 +38,6 @@ export AUTOENV_ENV_LEAVE_FILENAME=.out export AUTOENV_ENABLE_LEAVE=1 [ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh" -# z.sh - if [ -n "$ZSH_VERSION" ] && [ -f "$HOME/.z.lua/z.lua" ] ; then - eval "$(lua $HOME/.z.lua/z.lua --init zsh enhanced once)" - fi - # custom aliases [ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh"