From 0419fda6d20bb1ab6598ce91ad2b2c21546006d6 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 20 Mar 2020 23:05:51 +0300 Subject: added shortcut to change title of terminal window to zshrc --- dotfiles/.config/zsh/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dotfiles') 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" -- cgit v1.2.3