some cleanup
This commit is contained in:
parent
d20ff727bd
commit
f01cf24c94
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
.DS_Store
|
||||
mono/httplistener
|
||||
mono/httplistener/*
|
||||
jesseduffield/lazygit/state.yml
|
||||
|
@ -1,7 +0,0 @@
|
||||
#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
|
@ -3,38 +3,4 @@ export BASH_SILENCE_DEPRECATION_WARNING=1
|
||||
BASHRC_D=~/.config/bashrc.d
|
||||
[[ -r ${BASHRC_D}/bootstrap ]] && . ${BASHRC_D}/bootstrap
|
||||
|
||||
|
||||
|
||||
|
||||
export PS1='${c_user}\u${c_reset}@${c_user}\h${c_reset}:${c_path}\w${c_reset}$(git_prompt)\n\$ '
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
||||
export FLUTTER=/usr/local/flutter
|
||||
|
||||
export PATH="$PATH:$XDG_DATA/bin"
|
||||
#:/usr/local/sbin:$PLAN9/bin:$FLUTTER/bin"
|
||||
|
||||
|
||||
. $XDG_CONFIG_HOME/bash/alias.sh
|
||||
|
||||
o () {
|
||||
name=$1
|
||||
eval $(op signin my)
|
||||
key=`echo "cnffjbeq"|ebg`
|
||||
op get item ${name} | jq -r --arg KEY "${key}" '.details.fields[] | select(.designation=="$KEY").value' | pbcopy
|
||||
open "$( op get item ${name} | jq -r '.overview.URLs[] | select(.l=="website").u')"
|
||||
}
|
||||
|
||||
|
0
bash/alias.sh → bashrc.d/008-alias.sh
Executable file → Normal file
0
bash/alias.sh → bashrc.d/008-alias.sh
Executable file → Normal file
@ -1,3 +0,0 @@
|
||||
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"
|
Loading…
Reference in New Issue
Block a user