lebojo / ZSH-Theme-other-shortcuts

My ZSH_Theme and other shortcut to make my life easier at 42 school
0 stars 0 forks source link

ZSH_Theme

My ZSH Theme

image

(Emoji, pwd, gitbranch)

To set it:

clone it

go into the folder

cd ZSH_Theme

copy it inside the zsh theme folder:

cp lebojo.zsh-theme ~/.oh-my-zsh/themes

Change the theme here:

vim ~/.zshrc
ZSH_THEME="lebojo"

ZSHRC

I also added my .zshrc file who's in your user folder(~) This line is the most useful to add in your own ZSHRC (or copy mine)

#gcp -> git commit push, usage: _>gcp "commit message"
alias gcp='f() { git add . && git commit -m "$@" && git push; unset -f f; }; f'

CPP.JSON

It's some VSCODE Snippets I use for 42 school mandatory norm. It create shortcuts for canonical form and for make fast a main. (To make it work, copy in your own snippets file, you can configure it by pressing F1 and type: "snippets")