Skip to content

Instantly share code, notes, and snippets.

View tawashley's full-sized avatar

Tristan Ashley tawashley

View GitHub Profile
{
"bold_folder_labels": true,
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
"*.pid",
"*.pyc"
],
# Bash Prompt
PS1="[\u@\h:\w ] $ "
alias ll='ls -lG'
alias ..='cd ../'
alias ....='cd ../../'
alias ~='cd ~'
alias desktop='cd ~/Desktop'
alias reload_bash='source ~/.profile'
alias edit_bash='sudo nano ~/.profile'
@tawashley
tawashley / gitutils.ps1
Last active August 4, 2017 14:13
Powershell Aliases with git prompt (scroll down for main alias / profile file)
# Git functions
# Credit not myself but Mark Embling (http://www.markembling.info/)
# Is the current directory a git repository/working copy?
function isCurrentDirectoryGitRepository {
if ((Test-Path ".git") -eq $TRUE) {
return $TRUE
}
# Test within parent dirs