diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-03 18:29:31 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-03 18:29:31 +0100 |
commit | 07ad983aebf388065be7d650b7e08204100d1ed4 (patch) | |
tree | 5a3ae361ea5e84c36a577f385bce308bab0dfee1 /config/essentials/shell | |
parent | 541d9fa7014c5c197f7c8a09fa159ac84bd9a6a8 (diff) |
Update shell
*Added alias
*changed mutt to not use symlink
*changed starship looks
*use comp.zsh instead of plugin
*remove git-alias plugin
*added auto rehash
*removed rehash hook
Diffstat (limited to 'config/essentials/shell')
-rw-r--r-- | config/essentials/shell/aliases.sh | 1 | ||||
-rw-r--r-- | config/essentials/shell/functions.sh | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/essentials/shell/aliases.sh b/config/essentials/shell/aliases.sh index 950cea7..ca9f0dd 100644 --- a/config/essentials/shell/aliases.sh +++ b/config/essentials/shell/aliases.sh @@ -45,6 +45,7 @@ fi # Programs alias nb='newsboat' +alias nr='newsraft' alias sr='surfraw' alias ccu='calcurse' alias pf='profanity' diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index d303fb8..38fae34 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -283,7 +283,7 @@ muttmail() config="$HOME/.config/mutt" mail="$(find "$config"/configs -type f -printf '%f\n' | fzf)" [ "$mail" ] || return 1 - ln -sf "$config/configs/$mail" "$config"/muttrc + printf 'source %s\n' "$config"/configs/"$mail" > "$config"/muttrc mutt } @@ -305,3 +305,7 @@ to_webm() { ffmpeg -y -i "$1" -vcodec libvpx -cpu-used -12 -deadline realtime "${1%.*}".webm } +remove_audio() { ffmpeg -i "$1" -cpu-used -$(nproc) -deadline realtime -c copy -an "${2:-out.mp4}"; } +nasg() { smbclient //192.168.178.24/Public/ -D ENFANTS/Luca/tmp -N -c "get $1"; } +trll() { printf "%s +" "$1" | trl 2>/dev/null; } |