config: add server bin dir
This commit is contained in:
parent
61e8b3ad09
commit
48f21cd4a0
|
@ -313,6 +313,9 @@ npm-reinstall() {
|
|||
npm install
|
||||
}
|
||||
|
||||
# Reconnect to ONKYO since it is buggy
|
||||
alias onkyo='bluetoothctl disconnect 00:09:B0:1D:DC:98 && sleep 1 && bluetoothctl connect 00:09:B0:1D:DC:98'
|
||||
|
||||
# Custom tools {{{1
|
||||
|
||||
sedcomment() { sed -i "s/$1/#\0/" "${@:2}"; }
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
test -z "$DISPLAY" || return 0
|
||||
|
||||
PATH="$PATH:$HOME/.local/bin/server"
|
||||
|
||||
## STACKSPIN
|
||||
export STACKSPIN="${STACKSPIN:-$HOME/projects/stackspin}"
|
||||
_stackspin_cluster_cache=/var/tmp/stackspin-cluster
|
||||
|
||||
|
@ -7,7 +12,7 @@ _stackspin_cluster_cache=/var/tmp/stackspin-cluster
|
|||
# Presumes a mapping like the following in your ssh config:
|
||||
# Host example.org
|
||||
# Hostname [IP]
|
||||
# This is a function so it can change directory
|
||||
# This is a function so it can change directory.
|
||||
stack() {
|
||||
test $# -lt 1 &&
|
||||
builtin cd "$STACKSPIN" &&
|
||||
|
|
|
@ -5,4 +5,4 @@ $XDG_CONFIG_HOME/nvim
|
|||
$XDG_CONFIG_HOME/espanso
|
||||
$XDG_CONFIG_HOME/zsh/completion
|
||||
$CONFIG_SHELLS
|
||||
$HOME/.local/bin/scripts
|
||||
$HOME/.local/bin/*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
#!/bin/sh
|
||||
# Find config files with fzf, preview and edit them
|
||||
# Common config files are automatically checked/reloaded
|
||||
alias dedup='awk '"'"'!a[$0]++'"'"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Reconnect to ONKYO since it is buggy
|
||||
bluetoothctl disconnect 00:09:B0:1D:DC:98
|
||||
sleep 1
|
||||
bluetoothctl connect 00:09:B0:1D:DC:98
|
6
.zshenv
6
.zshenv
|
@ -62,8 +62,8 @@ export CONFIG_SHELLS="$XDG_CONFIG_HOME"/shell
|
|||
mkdir -p "$XDG_STATE_HOME/zsh"
|
||||
|
||||
# environment
|
||||
BIN="$HOME/.local/bin/scripts"
|
||||
export PATH="$BIN:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin:$ANDROID_SDK_ROOT/platform-tools:$CARGO_HOME/bin"
|
||||
BIN="$HOME/.local/bin"
|
||||
export PATH="$BIN/scripts:$BIN:$PATH:$XDG_CONFIG_HOME/emacs/bin:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin:$ANDROID_SDK_ROOT/platform-tools:$CARGO_HOME/bin"
|
||||
export ALTERNATE_EDITOR="$(
|
||||
if which nvim >/dev/null
|
||||
then echo nvim
|
||||
|
@ -71,7 +71,7 @@ export ALTERNATE_EDITOR="$(
|
|||
fi)"
|
||||
export EDITOR="$(
|
||||
if which emacs >/dev/null
|
||||
then echo $BIN/emacstty
|
||||
then echo $BIN/scripts/emacstty
|
||||
else echo $ALTERNATE_EDITOR
|
||||
fi
|
||||
)"
|
||||
|
|
Loading…
Reference in New Issue