diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:01:36 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:01:36 +0530 |
commit | 9510cebc37deaba233c41adc36e9179c22d8b74b (patch) | |
tree | b9e43f6055cb34e41f46b0ddfc2e87b9415d9db1 /.config/zsh/.zshrc | |
parent | 5037228feccf912d0c01353cd824fb5e74320461 (diff) |
added function to change title of terminal to better organise shit
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r-- | .config/zsh/.zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
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)" |