]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zshrc
zsh: clean up echo usage
[dotfiles.git] / etc / zsh / .zshrc
index f8d9843261c85ce01125d0bef2d85bda32e50233..90f487058bbbd7b57710f9af6cf18b9eb13c25c3 100644 (file)
@@ -137,7 +137,7 @@ if [[ ! -v _sev_force_zkbd && ( -v terminfo || -v termcap ) ]] {
     if [[ -n $keymap ]] {
         source $keymap
     } else {
-        echo "Failed to source keymap file $keymap" >&2
+        echo -E "Failed to source keymap file $keymap" >&2
     }
     unfunction find_keymap; unset keymap
 }
@@ -268,7 +268,7 @@ if [[ -v commands[zoxide] ]] {
 }
 alias cd..=up
 ## dotfiles
-alias dfu='d=${$(echo ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d git pull'
+alias dfu='d=${$(echo -E - ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d git pull'
 
 ### hooks
 autoload -Uz add-zsh-hook
@@ -341,7 +341,7 @@ case $OSTYPE; in
         function vol {
             if [[ -z "$1" ]] {
                 for x in $(mixerctl -a | grep 'outputs\.master'); do
-                    echo $x
+                    echo -E - $x
                 done
                 return
             }
This page took 0.031921 seconds and 4 git commands to generate.