diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-03-20 23:05:51 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-03-20 23:05:51 +0300 |
commit | 0419fda6d20bb1ab6598ce91ad2b2c21546006d6 (patch) | |
tree | bd7ca870f4e59d66522b1b38ea307f47f3f5527b /dotfiles/.config/zsh/.zshrc | |
parent | 90f188baaaa3122dd4c89b9e6880e943653f6d13 (diff) | |
download | swayrice-0419fda6d20bb1ab6598ce91ad2b2c21546006d6.tar.gz swayrice-0419fda6d20bb1ab6598ce91ad2b2c21546006d6.zip |
added shortcut to change title of terminal window to zshrc
Diffstat (limited to 'dotfiles/.config/zsh/.zshrc')
-rw-r--r-- | dotfiles/.config/zsh/.zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index 889a88f..a597162 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -63,8 +63,9 @@ zle -N zle-keymap-select alias v="nvim" alias abook="abook -C $HOME/.config/abook/abookrc --datafile $HOME/Documents/contacts/addressbook" alias eslint="./node_modules/.bin/eslint" -alias ls='ls -hN --color=auto --group-directories-first' +alias ls="ls -hN --color=auto --group-directories-first" weath() { curl wttr.in/$1 ;} # Check the weather (give city or leave blank). +wintitle() { printf "\033]2;%s\a" "$1";} # Generic shortcuts alias music="ncmpcpp" |