From 9510cebc37deaba233c41adc36e9179c22d8b74b Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 29 Mar 2021 21:01:36 +0530 Subject: added function to change title of terminal to better organise shit --- .config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index e42c72f..40873d5 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -59,6 +59,11 @@ alias dots='git --git-dir=$HOME/.dots/ --work-tree=$HOME' alias ssh-k='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/kalawati_git_key' alias ssh-v='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/vidhukant' +# to change title of terminal +title() { + echo -n -e "\033]0;$@\007" +} + neofetch exa eval "$(starship init zsh)" -- cgit v1.2.3