diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-03-08 20:32:26 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-03-08 20:32:26 +0100 |
| commit | 9f1a0d4102503aa3620ed831956dc469872ff87b (patch) | |
| tree | 57cb80185f7d7ab66cf223a62d44c6104f14443d /.config/shell | |
| parent | a32435cfed405c16182bd3efd10e2a4156578868 (diff) | |
changed monitor ports
Diffstat (limited to '.config/shell')
| -rw-r--r-- | .config/shell/aliasrc | 3 | ||||
| -rw-r--r-- | .config/shell/profile | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 415c26f..1edc562 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -19,13 +19,14 @@ alias tmn='tmux new-session -A -s' alias wgu='sudo wg-quick up /etc/wireguard/wg0.conf' alias wgd='sudo wg-quick down /etc/wireguard/wg0.conf' alias zzz='sudo zzz' +alias sc='echo -ne "\e[1 q"' alias ska="ps -u $USER | awk 'NR > 1 { print $1 }' | xargs -t kill" # compiler alias clang='clang -march=native -O3 -flto=thin' # rename files in cwd in their current order to 4-digit numbers -alias ofn='/bin/ls | cat -n | while read n f; do rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' +alias ofn='/bin/ls | cat -n | while read n f; do perl-rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' # restart pipewire after suspend if it stops working alias pw-restart='pkill pipewire && sleep 3s && setsid pipewire &>/dev/null' diff --git a/.config/shell/profile b/.config/shell/profile index 65f116e..c7f0ca9 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -24,6 +24,8 @@ export EIX_LIMIT_COMPACT=0 export LC_ALL=en_US.utf8 +export UV_CACHE_DIR="$HOME/.local/share/uv/cache" + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig" export INFOPATH="$INFOPATH:/usr/local/share/info" @@ -32,3 +34,5 @@ export GOPATH="$HOME/.local/share/go" export PATH="$PATH:$HOME/.local/bin:$HOME/.local/src/fzf/bin:$HOME/.npm/bin:/sbin:/usr/sbin:$GOPATH/bin" [ -f $HOME/.bashrc ] && . $HOME/.bashrc + +[[ -f /etc/motd.tcl ]] && /etc/motd.tcl |
