some reorg and cleanup
This commit is contained in:
parent
d80dc99734
commit
6400ee4139
9
acct.sh
Normal file
9
acct.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash -eo pipefail
|
||||
|
||||
ACCT=`whoami`
|
||||
|
||||
# change default shell back to bash
|
||||
chsh -s /bin/bash $ACCT
|
||||
|
||||
# Generate keypair for use with github
|
||||
ssh-keygen -o -a 100 -t ed25519 -f /Users/$ACCT/.ssh/id_ed25519 -C "colin@jchenry.me"
|
3
bash/alias.sh
Normal file
3
bash/alias.sh
Normal file
@ -0,0 +1,3 @@
|
||||
alias build-targets="make -rpn | sed -n -e '/^$/ { n ; /^[^ .#][^ ]*:/p ; }' | egrep --color '^[^ ]*:'"
|
||||
alias ebg="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
||||
alias tmux="tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf"
|
7
bash/goenv.sh
Normal file
7
bash/goenv.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#Golang environment
|
||||
export GOPATH=$XDG_DATA
|
||||
export GOROOT=/usr/local/go
|
||||
export GOBIN=$XDG_DATA/bin
|
||||
export GO111MODULE=on
|
||||
export GOPRIVATE=github.com/jchenry
|
||||
export PATH=$PATH:$GOROOT/bin
|
7
bash/history.sh
Normal file
7
bash/history.sh
Normal file
@ -0,0 +1,7 @@
|
||||
# Bash History
|
||||
shopt -s histappend
|
||||
export HISTSIZE=100000
|
||||
export HISTFILESIZE=10000000
|
||||
export HISTCONTROL=ignoreboth
|
||||
export PROMPT_COMMAND="history -a; history -n"
|
||||
export HISTIGNORE="ls:ll:cd:pwd:bg:fg:history"
|
@ -10,40 +10,22 @@ export XDG_DATA=$HOME/.local
|
||||
|
||||
. $XDG_CONFIG_HOME/git/git-prompt.sh
|
||||
. $XDG_CONFIG_HOME/git/git-completion.sh
|
||||
|
||||
. $XDG_CONFIG_HOME/bash/open_github.sh
|
||||
|
||||
. $XDG_CONFIG_HOME/bash/history.sh
|
||||
. $XDG_CONFIG_HOME/bash/goenv.sh
|
||||
. $XDG_CONFIG_HOME/bash/sandboxes/sandbox.sh
|
||||
. $XDG_CONFIG_HOME/bash/plan9.sh
|
||||
|
||||
|
||||
|
||||
# Bash History
|
||||
shopt -s histappend
|
||||
export HISTSIZE=100000
|
||||
export HISTFILESIZE=10000000
|
||||
export HISTCONTROL=ignoreboth
|
||||
export PROMPT_COMMAND="history -a; history -n"
|
||||
export HISTIGNORE="ls:ll:cd:pwd:bg:fg:history"
|
||||
|
||||
#Golang
|
||||
export GOPATH=$XDG_DATA
|
||||
export GOROOT=/usr/local/go
|
||||
export GOBIN=$XDG_DATA/bin
|
||||
export GO111MODULE=on
|
||||
export GOPRIVATE=github.com/jchenry
|
||||
export FLUTTER=/usr/local/flutter
|
||||
|
||||
export PLAN9=/usr/local/plan9
|
||||
|
||||
export PATH="$PATH:$XDG_DATA/bin:/usr/local/sbin:$GOROOT/bin:$PLAN9/bin:$FLUTTER/bin"
|
||||
|
||||
# acme visible clicks
|
||||
export visibleclicks=1
|
||||
#export PATH="$PATH:$XDG_DATA/bin:/usr/local/sbin:$PLAN9/bin:$FLUTTER/bin"
|
||||
|
||||
|
||||
alias build-targets="make -rpn | sed -n -e '/^$/ { n ; /^[^ .#][^ ]*:/p ; }' | egrep --color '^[^ ]*:'"
|
||||
|
||||
alias ebg="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
||||
|
||||
alias tmux="tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf"
|
||||
|
||||
o () {
|
||||
name=$1
|
||||
|
5
bash/plan9.sh
Normal file
5
bash/plan9.sh
Normal file
@ -0,0 +1,5 @@
|
||||
export PLAN9=/usr/local/plan9
|
||||
export PATH="$PATH:$PLAN9/bin"
|
||||
|
||||
# acme visible clicks
|
||||
export visibleclicks=1
|
4
configstore/update-notifier-npm.json
Normal file
4
configstore/update-notifier-npm.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"optOut": false,
|
||||
"lastUpdateCheck": 1592185592957
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash -eo pipefail
|
||||
|
||||
ACCT=jchenry
|
||||
ACCT=`whoami`
|
||||
|
||||
# change default shell back to bash
|
||||
chsh -s /bin/bash $ACCT
|
Loading…
x
Reference in New Issue
Block a user