Skip to content

Instantly share code, notes, and snippets.

View justin-harper's full-sized avatar

Justin Harper justin-harper

View GitHub Profile
@justin-harper
justin-harper / agnoster.zsh-theme
Created March 21, 2017 03:19
Updated Agnoster Zsh Theme to shorten path when longer than 15 charactors
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
##############################
# _
# | |_ _ __ ___ _ ___ __
# | __| '_ ` _ \| | | \ \/ /
# | |_| | | | | | |_| |> <
# \__|_| |_| |_|\__,_/_/\_\
#
#############################
#
# COPY AND PASTE
@justin-harper
justin-harper / subl.nemo_action
Last active February 25, 2017 02:42
nemo_action:open folder in Sublime Text
[Nemo Action]
# location = /usr/share/nemo/actions
Name=Open folder in Sublime Text
Comment=Open current folder in Sublime Text
Icon-Name=subl3
Selection=any
Extensions=any
EscapeSpaces=true
Exec=/bin/sh -c "cd %P && subl3 ."
Dependencies=subl3;