From beb57e493288d5d4d191b0c2682ede11fd5acd9e Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Sat, 20 Mar 2021 20:02:13 +0000 Subject: [PATCH] bash: update MBP local; remove 'rm -i' alias --- bashrc.d/aliases.bash | 6 ------ bashrc.d/local/Pauls-new-MacBook-Pro.local.bash | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bashrc.d/aliases.bash b/bashrc.d/aliases.bash index eda1dd6..2af0637 100644 --- a/bashrc.d/aliases.bash +++ b/bashrc.d/aliases.bash @@ -29,12 +29,6 @@ alias gg="git grep" alias st="git status" alias gd="git diff" -if [ "$TERM" == "xterm-256color" ] ; then - /bin/true - # echo TERM is xterm-256color, assuming MacBook - # Safety net for different locations of keys - # alias rm="rm -i" -fi alias log='git log --color --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit' if [ -x /usr/bin/fdfind ] ; then diff --git a/bashrc.d/local/Pauls-new-MacBook-Pro.local.bash b/bashrc.d/local/Pauls-new-MacBook-Pro.local.bash index 93fdcd5..fc2591f 100644 --- a/bashrc.d/local/Pauls-new-MacBook-Pro.local.bash +++ b/bashrc.d/local/Pauls-new-MacBook-Pro.local.bash @@ -6,3 +6,8 @@ addpath "$HOME/.serverless/bin" # Set up NNTP variables `netrc news.xcski.com NNTP` + +export PGDATA="/Users/$USER/Library/Application Support/Postgres/var-10" + +alias clearpgpid="rm $PGDATA/postmaster.pid" +alias nwjs="/Applications/nwjs.app/Contents/MacOS/nwjs"