Skip to content

Instantly share code, notes, and snippets.

View fenykep's full-sized avatar

Ábel fenykep

View GitHub Profile
@fenykep
fenykep / .vimrc
Last active October 6, 2024 14:27
My vimrc
" theme from github.com/crusoexia/vim-monokai
" manually installed plugins:
" - github.com/digitaltoad/vim-pug
" - github.com/slint-ui/vim-slint
" - github.com/hashivim/vim-terraform/
" - github.com/yegappan/lsp
"
" - prettier globally
syntax on
@fenykep
fenykep / .bash_profile
Created April 25, 2023 16:28
My bash profile
#!/usr/bin/env bash
# GIT FUNCTIONS
git_branch() {
git branch 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/'
}
# TERMINAL PROMPT
# \[\e[7;37m\] 1-bold; 4-udrline; 5-blink; 7-inv; 30-blk 37-wht;
PS1="\[\e[1;37m\]\\$"
PS1+="\[\e[0;92m\]\u\[\e[m\] " # username
@fenykep
fenykep / .bashrc
Last active August 23, 2024 11:07
Small bashrc
alias kod="cd ~/Documents/code"
mdir(){
mkdir -p -- "$1" && cd -P -- "$1"
}
alias diff='diff -u --color=auto'
alias dd="dd status=progress"