updated sheldon zsh config
This commit is contained in:
parent
011d8586ae
commit
6b7cca2168
4 changed files with 12 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
# path
|
||||
# deduplicate path and add local bin to path
|
||||
typeset -U path PATH
|
||||
export PATH="$HOME"/.local/bin:"$PATH"
|
||||
|
||||
# xdg stuff
|
||||
|
@ -27,6 +28,7 @@ export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
|
|||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||
export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/history
|
||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
||||
|
||||
# data files
|
||||
export XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons
|
||||
|
|
|
@ -6,6 +6,11 @@ pet_select () {
|
|||
zle -N pet_select
|
||||
bindkey '^l' pet_select
|
||||
|
||||
pet_add_prev () {
|
||||
PREV=$(fc -lrn | head -n 1)
|
||||
sh -c "pet new $(printf %q "$PREV")"
|
||||
}
|
||||
|
||||
run_ranger () {
|
||||
echo
|
||||
ranger < $TTY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue