servers/bash_profile @ 52df46e416f5

More
author Steve Losh <steve@stevelosh.com>
date Thu, 16 Jan 2020 11:27:08 -0500
parents edcb4fbe993b
children (none)
#!/usr/bin/env bash

shopt -s expand_aliases

export PATH=~/bin:~/dotfiles/bin:$PATH

alias l='ls -1 --color=auto'
alias ll='ls -la1 --color=auto'
alias h='hg'
alias g='git'
alias pj='python -m json.tool'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias nvim=vim

function psg() {
    ps auxww | grep --color=always $* | grep -v grep | collapse | cuts -f 2,11-
}

export EDITOR=vim

D=$'\e[37m'
PINK=$'\e[35m'
GREEN=$'\e[32m'
ORANGE=$'\e[33m'

export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w${D}\n$ '