aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-29 21:01:36 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-03-29 21:01:36 +0530
commit9510cebc37deaba233c41adc36e9179c22d8b74b (patch)
treeb9e43f6055cb34e41f46b0ddfc2e87b9415d9db1 /.config/zsh
parent5037228feccf912d0c01353cd824fb5e74320461 (diff)
added function to change title of terminal to better organise shit
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc5
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)"