i was tired of copying my roll no from pdf... i generally have my terminal open all the time.
added this to my
# references: google the following for more info
-
added this to my
.zshrc
export ROLL="S20220010001"adding new function to
.bash_functions, i keep all my functions there. (this file is loaded from .zshrc)roll() {
echo $ROLL
}
in my .bash_aliases (this file is again loaded by .zshrc), i havealias copy='xclip -selection clipboard'my shell zsh, but long ago i used bash, so my aliases in bashrc. i backup my dotfiles in private github repo.
# references: google the following for more info
-
medium article by shivam customize terminal
- git atlassian dotfiles
PS: inside my .zshrc i have this to load my functions and aliasessource $HOME/.bash_aliases
source $HOME/.bash_functions
๐5
Forwarded from Aahnik Daw
YouTube
Tech It or Leave It.
๐5