Skip to content

Instantly share code, notes, and snippets.

View mhujer's full-sized avatar
🏠
Working remotely

Martin Hujer mhujer

🏠
Working remotely
View GitHub Profile
@mhujer
mhujer / boxstarter.ps1
Created September 14, 2017 06:48 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
#
# Learn more: http://boxstarter.org/Learn/WebLauncher
#---- TEMPORARY ---
@mhujer
mhujer / .bashrc
Last active April 27, 2016 09:25 — forked from VasekPurchart/.bashrc
GIT global configuration and enhancements
# used by Git (commit messages, rebase, ...)
export EDITOR=vim
# GIT bash current branch
# by HABR (modified by Dundee)
export PSORIG="$PS1"
function GITBRANCH() {
BRANCH="$(git branch 2>/dev/null | grep '*' | cut -d" " -f2-)"
if [ -n "$BRANCH" ] ; then
export PS1=$PSORIG$(echo -en "\[\033[01;33m\]$BRANCH > \[\033[00m\]")