-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_custom
34 lines (25 loc) · 999 Bytes
/
bash_custom
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export TOOLS=$HOME/dev/tools
export WORKSPACES=$HOME/dev/workspaces
export JAVA_HOME=/usr/lib/jvm/default-runtime
export GOPATH=$WORKSPACES/gocode
export npm_config_prefix=$HOME/.node_modules
export JANET_PATH=$HOME/.local/lib/janet
export PATH=$HOME/dev/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH=$HOME/.node_modules/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
export PATH=/usr/local/go/bin:$PATH
export PATH=${GOPATH//://bin:}/bin:$PATH
export RUSTC_WORKSPACE_WRAPPER=sccache
reverse_array() {
shopt -s extdebug
f()(printf '%s\n' "${BASH_ARGV[@]}"); f "$@"
shopt -u extdebug
}
emx() { setsid emacs $(reverse_array "$@") ;}
# -e "(select-frame-set-input-focus (selected-frame))"
emc() { setsid emacsclient -c -F "((undecorated . t) (fullscreen . maximized))" $@ > /dev/null 2>&1 ;}
emk() { emacsclient --eval "(progn (setq kill-emacs-hook nil) (kill-emacs))" ;}
em() { TERM=konsole-direct emacsclient -t $@ ;}
alias ll='ls -alF'