Skip to content

Instantly share code, notes, and snippets.

@kazimmsyed
Last active January 6, 2023 16:19
Show Gist options
  • Save kazimmsyed/e3a852dfa53e96aed61656659545678c to your computer and use it in GitHub Desktop.
Save kazimmsyed/e3a852dfa53e96aed61656659545678c to your computer and use it in GitHub Desktop.
How to set bindkeys aka shortcuts to bigger text of code and setting the prompt and mysql. And how the zsh enviorment variables and other are loaded into the system and for user personal use.
% cat ~/.zlogin lily Patronus Fri 6
#setting mysql
path[8]=/usr/local/mysql/bin;
#Setting shell prompt
PROMPT="%{$fg[yellow]%}%n@%m%{$reset_color%} %~"$'\n'"%# "
#setting bindkey for mysql
bindkey -s '^' "mysql -u root -p"
@kazimmsyed
Copy link
Author

kazimmsyed commented Jan 6, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment