' # Open the current directory in Finder alias cd. ' alias ll = 'ls -al' # List all files in current directory in long list format alias ldir = 'ls -al | grep ^d' # List all directories in current directory in long list format alias ltr = 'tree -L 1 -h -D -F -a -C' # List all directories in current directory in tree format alias o = 'open. # Edit and Source Bash alias edit_bash = 'code ~/.bash_profile' alias source_bash = 'source ~/.bash_profile' # Edit and Source ZSH alias edit_zsh = 'code ~/.zshrc' alias source_zsh = 'source ~/.zshrc' # Backup zsh alias backup_zsh = 'cp ~/.zshrc ~/.zshrc_bak' alias vsc = 'code. This is how I source the files in ~/.zshrc: Now to use these, we need to source the files. utils.zsh : For any other random stuff which does not fit in the above.development.zsh : For development specific commands,.git-alias.zsh : For git specific commands,.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |