diff options
Diffstat (limited to 'config/essentials')
-rw-r--r-- | config/essentials/nvim/lua/user/aucommands.vim | 2 | ||||
-rw-r--r-- | config/essentials/zsh/.zshrc | 4 | ||||
-rw-r--r-- | config/essentials/zsh/aliases.zsh | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/config/essentials/nvim/lua/user/aucommands.vim b/config/essentials/nvim/lua/user/aucommands.vim index 732985f..79ffc36 100644 --- a/config/essentials/nvim/lua/user/aucommands.vim +++ b/config/essentials/nvim/lua/user/aucommands.vim @@ -19,3 +19,5 @@ autocmd BufReadPost * \ exe "normal! g`\"" | \ endif +" Makes vim-commentary work +autocmd FileType dosini setlocal commentstring=#\ %s 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' |