function debounceFunction ({
targetFunction,
delay = 300,
immediate = false,
context,
}: {
targetFunction: (...args: any[]) => any;
Add these code in the .bashrc
file present in Home folder. Find it using ~/.bashrc/
command.
# git branch info if present
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[36m\]\u@\h\[\033[00m\] \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] \n\[\033[1;31m\]>>\[\033[00m\] "
1. Generate SSH keys with different names
ssh-keygen -t rsa -C "[email protected]"
Keep them with different names. Lets say I created mine having path as followings -