-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_custom
More file actions
26 lines (18 loc) · 738 Bytes
/
Copy pathbash_custom
File metadata and controls
26 lines (18 loc) · 738 Bytes
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
export TOOLS=$HOME/dev/tools
export WORKSPACES=$HOME/dev/workspaces
export JAVA_HOME=/usr/lib/jvm/default-runtime
export PATH=$HOME/dev/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
reverse_array() {
shopt -s extdebug
f()(printf '%s\n' "${BASH_ARGV[@]}"); f "$@"
shopt -u extdebug
}
emx() { setsid emacs $(reverse_array "$@") > /dev/null 2>&1 ;}
# -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'