config: add server bin dir
This commit is contained in:
parent
61e8b3ad09
commit
48f21cd4a0
|
@ -313,6 +313,9 @@ npm-reinstall() {
|
||||||
npm install
|
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
|
# Custom tools {{{1
|
||||||
|
|
||||||
sedcomment() { sed -i "s/$1/#\0/" "${@:2}"; }
|
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}"
|
export STACKSPIN="${STACKSPIN:-$HOME/projects/stackspin}"
|
||||||
_stackspin_cluster_cache=/var/tmp/stackspin-cluster
|
_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:
|
# Presumes a mapping like the following in your ssh config:
|
||||||
# Host example.org
|
# Host example.org
|
||||||
# Hostname [IP]
|
# Hostname [IP]
|
||||||
# This is a function so it can change directory
|
# This is a function so it can change directory.
|
||||||
stack() {
|
stack() {
|
||||||
test $# -lt 1 &&
|
test $# -lt 1 &&
|
||||||
builtin cd "$STACKSPIN" &&
|
builtin cd "$STACKSPIN" &&
|
||||||
|
|
|
@ -5,4 +5,4 @@ $XDG_CONFIG_HOME/nvim
|
||||||
$XDG_CONFIG_HOME/espanso
|
$XDG_CONFIG_HOME/espanso
|
||||||
$XDG_CONFIG_HOME/zsh/completion
|
$XDG_CONFIG_HOME/zsh/completion
|
||||||
$CONFIG_SHELLS
|
$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
|
# Find config files with fzf, preview and edit them
|
||||||
# Common config files are automatically checked/reloaded
|
# Common config files are automatically checked/reloaded
|
||||||
alias dedup='awk '"'"'!a[$0]++'"'"
|
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"
|
mkdir -p "$XDG_STATE_HOME/zsh"
|
||||||
|
|
||||||
# environment
|
# environment
|
||||||
BIN="$HOME/.local/bin/scripts"
|
BIN="$HOME/.local/bin"
|
||||||
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"
|
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="$(
|
export ALTERNATE_EDITOR="$(
|
||||||
if which nvim >/dev/null
|
if which nvim >/dev/null
|
||||||
then echo nvim
|
then echo nvim
|
||||||
|
@ -71,7 +71,7 @@ export ALTERNATE_EDITOR="$(
|
||||||
fi)"
|
fi)"
|
||||||
export EDITOR="$(
|
export EDITOR="$(
|
||||||
if which emacs >/dev/null
|
if which emacs >/dev/null
|
||||||
then echo $BIN/emacstty
|
then echo $BIN/scripts/emacstty
|
||||||
else echo $ALTERNATE_EDITOR
|
else echo $ALTERNATE_EDITOR
|
||||||
fi
|
fi
|
||||||
)"
|
)"
|
||||||
|
|
Loading…
Reference in New Issue