Monthly Archives: June 2014

Sublime Text Customizations

To hide the scroll bars, add the following line to the Preferences > Settings – User: “overlay_scroll_bars”: “enabled” To make F5 refresh the sidebar’s directory view, add the following to Preferences > Key Bindings – User: { “keys”: [“f5”], “command”: “refresh_folder_list” } To make Unix-style line endings the default (in case you’re in Windows but want to write shell scripts… Read more →

Bash Prompt Colors

This is currently my bash prompt. Locate this code in any script run by bash at startup. I have it in ~/.bashrc GREEN=”\[\e[1;32m\]” BLUE=”\[\e[1;34m\]” YELLOW=”\[\e[1;33m\]” CYAN=”\[\e[1;36m\]” RESET=”\[\e[m\]” BRANCH=$CYAN PS1=”$GREEN\u@\h $BLUE\w $BRANCH\$(git branch 2>/dev/null | grep ‘^*’ | colrm 1 2 | parens | tr -d ‘\n’)$BLUE\$ $RESET” This relies on parens, a simple program that I wrote that can be… Read more →

Elementary Tweaks

This will be all about getting Elementary OS set up the way Brandon likes it. To install Elementary Tweaks: sudo apt-add-repository ppa:versable/elementary-update sudo apt-get update sudo apt-get install elementary-tweaks To install Wingpanel Slim: sudo apt-get install wingpanel-slim More information about Elementary add-ons can be found here: What happened to Elementary Update? Elementary Update PPA Many of the packages in the… Read more →