Update some envs
This commit is contained in:
parent
201c082aa1
commit
c79e9e3e68
10
.zshenv
10
.zshenv
|
@ -18,13 +18,14 @@ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
|
||||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
||||||
|
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
||||||
|
export LESSHISTFILE="$XDG_STATE_HOME"/lesshst
|
||||||
|
|
||||||
|
## Graphical
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
export KDEHOME="$XDG_STATE_HOME"/kdehome
|
export KDEHOME="$XDG_STATE_HOME"/kdehome
|
||||||
export DOOMLOCALDIR="$XDG_STATE_HOME"/emacs
|
export DOOMLOCALDIR="$XDG_STATE_HOME"/emacs
|
||||||
|
|
||||||
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
export WINEPREFIX="$XDG_DATA_HOME"/wine
|
||||||
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
|
||||||
|
|
||||||
## Development tools
|
## Development tools
|
||||||
export GOPATH="$XDG_STATE_HOME"/go
|
export GOPATH="$XDG_STATE_HOME"/go
|
||||||
|
@ -40,7 +41,6 @@ export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
|
||||||
export BUNDLE_USER_PLUGIN="$XDG_STATE_HOME"/bundle
|
export BUNDLE_USER_PLUGIN="$XDG_STATE_HOME"/bundle
|
||||||
|
|
||||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/pythonstartup.py
|
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/pythonstartup.py
|
||||||
export LESSHISTFILE="$XDG_STATE_HOME"/lesshst
|
|
||||||
export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
|
export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
|
||||||
|
|
||||||
# Java & Android
|
# Java & Android
|
||||||
|
@ -65,6 +65,7 @@ mkdir -p "$XDG_STATE_HOME/zsh"
|
||||||
# environment
|
# environment
|
||||||
which nvim >/dev/null && export EDITOR='nvim' || export EDITOR='vim'
|
which nvim >/dev/null && export EDITOR='nvim' || export EDITOR='vim'
|
||||||
export LESS="--RAW-CONTROL-CHARS --ignore-case --LONG-PROMPT --jump-target=5 $(test $(less --version | head -1 | cut -f2 -d' ') -ge 590 && echo --incsearch)"
|
export LESS="--RAW-CONTROL-CHARS --ignore-case --LONG-PROMPT --jump-target=5 $(test $(less --version | head -1 | cut -f2 -d' ') -ge 590 && echo --incsearch)"
|
||||||
|
# TODO put into config file and use --exclude-from
|
||||||
export DIRS_GENERATED="-x generated -x .gradle -x cmake_build -x dist-newstyle -x node_modules -x __pycache__"
|
export DIRS_GENERATED="-x generated -x .gradle -x cmake_build -x dist-newstyle -x node_modules -x __pycache__"
|
||||||
export DIRS_IGNORE_SAFE="-x .sync -x .stfolder -x .cache -x *Cache -x .pyenv -x .local/cache -x share/baloo -x share/cabal -x share/cargo -x share/digikam -x share/JetBrains -x share/tldr -x share/syncthing -x share/Steam/ubuntu* -x share/virtualenv -x share/Zeal -x state/gradle -x state/android -x Ferdi/Partitions -x oh-my-zsh $DIRS_GENERATED"
|
export DIRS_IGNORE_SAFE="-x .sync -x .stfolder -x .cache -x *Cache -x .pyenv -x .local/cache -x share/baloo -x share/cabal -x share/cargo -x share/digikam -x share/JetBrains -x share/tldr -x share/syncthing -x share/Steam/ubuntu* -x share/virtualenv -x share/Zeal -x state/gradle -x state/android -x Ferdi/Partitions -x oh-my-zsh $DIRS_GENERATED"
|
||||||
export DIRS_IGNORE="-x *build -x .git -x .idea -x out -x cache -x Partitions $DIRS_IGNORE_SAFE"
|
export DIRS_IGNORE="-x *build -x .git -x .idea -x out -x cache -x Partitions $DIRS_IGNORE_SAFE"
|
||||||
|
@ -93,10 +94,11 @@ alt-enter:execute(test -O {} && $EDITOR {} || sudoedit {})
|
||||||
alt-bspace:execute(gio trash {})
|
alt-bspace:execute(gio trash {})
|
||||||
double-click:execute(xdg-open {})
|
double-click:execute(xdg-open {})
|
||||||
ctrl-a:select-all
|
ctrl-a:select-all
|
||||||
ctrl-h:kill-line
|
ctrl-l:kill-line
|
||||||
alt-a:select-all
|
alt-a:select-all
|
||||||
alt-c:yank
|
alt-c:yank
|
||||||
alt-w:toggle-preview-wrap
|
alt-w:toggle-preview-wrap
|
||||||
|
ctrl-alt-h:backward-kill-word
|
||||||
$($_fzf_latest && echo "shift-down:preview-half-page-down,shift-up:preview-half-page-up
|
$($_fzf_latest && echo "shift-down:preview-half-page-down,shift-up:preview-half-page-up
|
||||||
alt-j:preview-half-page-down,alt-k:preview-half-page-up
|
alt-j:preview-half-page-down,alt-k:preview-half-page-up
|
||||||
alt-shift-down:preview-down,alt-shift-up:preview-up,esc:close")
|
alt-shift-down:preview-down,alt-shift-up:preview-up,esc:close")
|
||||||
|
|
19
README.org
19
README.org
|
@ -30,11 +30,12 @@ and configuration for ~less~ and ~fzf~.
|
||||||
: pacman -Qe | cut -d\ -f1 | xclip -selection clipboard
|
: pacman -Qe | cut -d\ -f1 | xclip -selection clipboard
|
||||||
# Use org-yank-visible
|
# Use org-yank-visible
|
||||||
- essentials :: curl git zsh bat neovim man-db
|
- essentials :: curl git zsh bat neovim man-db
|
||||||
- basic tools :: tree wget texinfo man-pages base-devel fzf topgrade expect zoxide
|
- basic tools :: tree wget texinfo fzf expect zoxide mlocate
|
||||||
fd ripgrep zsh-completions python-pynvim unrar mlocate
|
- arch basics :: fd ripgrep zsh-completions python-pynvim unrar man-pages base-devel topgrade
|
||||||
- dotfiles :: yadm
|
- dotfiles :: yadm
|
||||||
: yadm clone git@git.jfischer.org:xeruf/dotfiles.git
|
: yadm clone --bootstrap git@git.jfischer.org:xeruf/dotfiles.git
|
||||||
: yadm clone https://git.jfischer.org/xeruf/dotfiles.git
|
: yadm clone --bootstrap https://git.jfischer.org/xeruf/dotfiles.git
|
||||||
|
Run ~bootstrap~ after starting ZSH
|
||||||
** Applications
|
** Applications
|
||||||
- utilities :: youtube-dl dos2unix
|
- utilities :: youtube-dl dos2unix
|
||||||
- powertools :: hexedit hexyl [[https://lftp.yar.ru/][lftp]] glances zsh-doc pacman-contrib
|
- powertools :: hexedit hexyl [[https://lftp.yar.ru/][lftp]] glances zsh-doc pacman-contrib
|
||||||
|
@ -59,7 +60,7 @@ makepkg -si
|
||||||
- needs extra setup :: rdictcc-git
|
- needs extra setup :: rdictcc-git
|
||||||
- experiments :: kakoune
|
- experiments :: kakoune
|
||||||
** Graphical
|
** Graphical
|
||||||
- office :: libreoffice-fresh
|
- office :: libreoffice-fresh zathura zathura-pdf-poppler zathura-djvu zathura-ps
|
||||||
- fonts :: fontpreview noto-fonts noto-fonts-emoji ttf-dejavu adobe-source-code-pro-fonts texlive-myriadpro-git
|
- fonts :: fontpreview noto-fonts noto-fonts-emoji ttf-dejavu adobe-source-code-pro-fonts texlive-myriadpro-git
|
||||||
- video :: [[https://github.com/phw/peek][peek]] vlc obs-studio kdenlive
|
- video :: [[https://github.com/phw/peek][peek]] vlc obs-studio kdenlive
|
||||||
- music management :: puddletag beets picard ffmpegthumbnailer sox
|
- music management :: puddletag beets picard ffmpegthumbnailer sox
|
||||||
|
@ -104,11 +105,3 @@ yays clion clion-jre cmake gdb python-pre-commit
|
||||||
: yays android-udev android-tools adbfs-rootless-git android-studio
|
: yays android-udev android-tools adbfs-rootless-git android-studio
|
||||||
After running android-studio setup, accept licenses:
|
After running android-studio setup, accept licenses:
|
||||||
: $ANDROID_SDK_ROOT/tools/bin/sdkmanager --licenses
|
: $ANDROID_SDK_ROOT/tools/bin/sdkmanager --licenses
|
||||||
** Server (Debian)
|
|
||||||
Setup systemd-resolved and systemd-networkd
|
|
||||||
- tools :: fd-find locate
|
|
||||||
- rust :: cargo install zoxide diffr
|
|
||||||
: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
||||||
- ssh (Ubuntu) :: lemonade openssh
|
|
||||||
- webserver :: sudo apt install snapd nginx && snap install certbot
|
|
||||||
- social :: pleroma-bin postgresql caddy
|
|
||||||
|
|
Loading…
Reference in New Issue