Skip to content

Instantly share code, notes, and snippets.

🔥
Creating

Sven Goek dherault

🔥
Creating
Block or report user

Report or block dherault

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .bashrc
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /'
}
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u\[\033[31m\]@\[\033[01;33m\]\h \[\033[01;36m$
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
View quick_commit.sh
#!/bin/sh
[ -z "$1" ] && echo "No argument supplied" && exit 1
git add . -A
git commit -m "$*"
You can’t perform that action at this time.