This commit is contained in:
Ray Elliott 2026-10-27 11:31:38 +00:00
commit 6f84d341bc
2 changed files with 5 additions and 13 deletions

View file

@ -33,8 +33,6 @@ alias disk-usage='sudo du -h -d 2 .[^.]* * | sort -h'
alias cs='lxc list -c ns4b,user.comment:comment' alias cs='lxc list -c ns4b,user.comment:comment'
alias pc='pcmanfm . & disown' alias pc='pcmanfm . & disown'
alias media-window='bspc node -z top 0 +530'
# enable aliases for commands inside sudo # enable aliases for commands inside sudo
# TOOD check this is safe # TOOD check this is safe
alias sudo='sudo ' alias sudo='sudo '
@ -52,8 +50,6 @@ alias ee='nvim .'
alias speak='/usr/local/src/kokora/speak' alias speak='/usr/local/src/kokora/speak'
alias debug.log='clear && echo "" > debug.log && tail -f debug.log' 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 g='git status'
alias gg='git add . && git commit -m "update" && git push' 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 -' 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 bc='bc -q -l'
alias ytdl='youtube-dl --write-info-json --write-description --no-playlist' alias ytdl='yt-dlp --write-info-json --write-description --no-playlist'
alias ytdlb='youtube-dl --write-info-json --write-description --no-playlist -a' alias ytdlb='yt-dlp --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-mp3='yt-dlp -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata'
alias mac='ssh rya@192.168.0.67' alias mac='ssh rya@192.168.0.67'
alias pi4='ssh pi@192.168.0.11' alias pi4='ssh pi@192.168.0.11'
@ -114,7 +110,8 @@ lfcd() {
update() { update() {
echo -e "Executing \"${ALIASES_GREEN}pacman -Syu${ALIASES_NC}\" via \"${ALIASES_BLUE}archnews_wrap${ALIASES_NC}\" wrapper" 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 # functions

View file

@ -38,11 +38,6 @@ export AUTOENV_ENV_LEAVE_FILENAME=.out
export AUTOENV_ENABLE_LEAVE=1 export AUTOENV_ENABLE_LEAVE=1
[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh" [ -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 # custom aliases
[ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh" [ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh"