Skip to content

Instantly share code, notes, and snippets.

BasedOnStyle: GNU
IndentWidth: 4
Language: Cpp
AccessModifierOffset: 0
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
@ominusliticus
ominusliticus / .bashrc
Last active April 2, 2023 22:12
Neovim and Bashrc configurations
alias vim='nvim'
alias tpython='time python3 -W"ignore"'
. "$HOME/.cargo/env"
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\e]0;\u@\h: \e[01;32m\]\u\e[00m-\e[01;31m\]OL\[\e[00m\]\e[00;33m\]\$(parse_git_branch) \[\e[00;34m\]\w \[\e[00m\n$ "