summaryrefslogtreecommitdiff
path: root/config/essentials/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r--config/essentials/zsh/.zshrc4
-rw-r--r--config/essentials/zsh/aliases.zsh4
2 files changed, 6 insertions, 2 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index f0c1cbf..f740824 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -80,11 +80,11 @@ rehash_precmd() {
# window title hooks
add-zsh-hook -Uz precmd rehash_precmd
set_wt_action () {
- print -Pn "\e]0;$USER@$HOST on ${PWD//$HOME/\~} | $1\a"
+ print -Pn "\e]0;👉 $1\a"
}
add-zsh-hook -Uz preexec set_wt_action
set_wt () {
- print -Pn "\e]0;$USER@$HOST on ${PWD//$HOME/\~}\a"
+ print -Pn "\e]0;%n@%m on %~\a"
}
add-zsh-hook -Uz precmd set_wt
diff --git a/config/essentials/zsh/aliases.zsh b/config/essentials/zsh/aliases.zsh
index a1c2f22..07773a7 100644
--- a/config/essentials/zsh/aliases.zsh
+++ b/config/essentials/zsh/aliases.zsh
@@ -116,6 +116,10 @@ alias airpods='bluetoothctl connect 60:93:16:24:00:10'
alias hotpsot='nmcli dev wifi hotspot ifname wlan0 ssid wiefie password "peepeepoopoo"'
alias wtip='wt ip -c -brief addr'
alias qrclipo='qrencode -s 16 "$(clipo)" -io - | imv -w "imv - $(clipo)" -'
+alias muttmail='echo -n "email set: " >&2; ls $HOME/.config/mutt/configs |
+ fzf |
+ tee /dev/stderr |
+ xargs -I {} ln -sf "$HOME/.config/mutt/configs/{}" $HOME/.config/mutt/muttrc'
# Python
alias penv='python3 -m venv env'