mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 21:52:23 +00:00
stuff
This commit is contained in:
parent
8a1ab2f630
commit
d4f0d244c2
4 changed files with 95 additions and 8 deletions
75
dot_profile
Normal file
75
dot_profile
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||||
|
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||||
|
export XDG_DATA_DIRS="$HOME/.nix-profile/share/applications:$HOME/.local/share/applications:/usr/local/share:/usr/share"
|
||||||
|
export LOCALE_ARCHIVE=$(nix-build '<nixpkgs>' --no-out-link -A glibcLocales)/lib/locale/locale-archive
|
||||||
|
export PATH="$HOME/.nix-profile/share/applications/:$PATH"
|
||||||
|
export PATH="$HOME/.nix-profile/bin/:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin/scripts:$PATH"
|
||||||
|
export PATH="$HOME/.emacs.d/bin/:$PATH"
|
||||||
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||||
|
export PATH="$HOME/intelliJInstall/bin:$PATH"
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
export PATH="$HOME/.cpm/bin:$PATH"
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/.nimble/bin:$PATH"
|
||||||
|
export PATH="$HOME/.dotnet/tools:$PATH"
|
||||||
|
|
||||||
|
|
||||||
|
export EDITOR="$(which nvim)"
|
||||||
|
export BROWSER="$(which google-chrome-stable)"
|
||||||
|
#export TERMINAL="$(which alacritty)"
|
||||||
|
export TERMINAL="$(which foot)"
|
||||||
|
|
||||||
|
|
||||||
|
export RANGER_LOAD_DEFAULT_RC=FALSE
|
||||||
|
|
||||||
|
export FZF_DEFAULT_COMMAND='rg --files'
|
||||||
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||||
|
export FZF_ALT_C_COMMAND="rg --files --null | xargs -0 dirname | sort -u"
|
||||||
|
|
||||||
|
export LESSHISTFILE="/dev/null"
|
||||||
|
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
|
|
||||||
|
# Man pages color support
|
||||||
|
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||||
|
export LESS_TERMCAP_md=$'\e[1;32m'
|
||||||
|
export LESS_TERMCAP_me=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_se=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_so=$'\e[01;33m'
|
||||||
|
export LESS_TERMCAP_ue=$'\e[0m'
|
||||||
|
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
||||||
|
|
||||||
|
|
||||||
|
export NNN_PLUG='F:fzopen;S:suedit'
|
||||||
|
|
||||||
|
export FREETYPE_PROPERTIES='truetype:interpreter-version=40'
|
||||||
|
export _JAVA_OPTIONS='-Dswing.aatext=true -Dawt.useSystemAAFontSettings=lcd'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
|
||||||
|
command -v opam > /dev/null && eval "$(opam env)"
|
||||||
|
command -v luarocks > /dev/null && eval "$(luarocks path --lua-version=5.4)"
|
||||||
|
command -v zoxide > /dev/null && eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Launches tbsm on session start
|
||||||
|
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
|
if command -v tbsm > /dev/null; then
|
||||||
|
tbsm
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.config/nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
6
dot_zshenv
Normal file
6
dot_zshenv
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
ZDOTDIR=$HOME/.config/zsh
|
||||||
|
|
||||||
|
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
|
||||||
|
if [ -e /home/leon/.nix-profile/etc/profile.d/nix.sh ]; then . /home/leon/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||||
|
|
||||||
|
if [ -e /home/elk/.nix-profile/etc/profile.d/nix.sh ]; then . /home/elk/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
(defcfg
|
(defcfg
|
||||||
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
||||||
fallthrough true
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc
|
||||||
|
@ -29,7 +28,7 @@
|
||||||
@tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn
|
@tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn
|
||||||
@cps @ca @cs @cd @cf g @ch @cj k @cl scln ' \
|
@cps @ca @cs @cd @cf g @ch @cj k @cl scln ' \
|
||||||
lsft 102d z x c v b n m , . / rsft up
|
lsft 102d z x c v b n m , . / rsft up
|
||||||
lctl lmet lalt spc ralt ralt left down rght
|
lctl lmet lalt spc bspc ralt left down rght
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
|
@ -65,8 +64,9 @@
|
||||||
(i o p) @uml-o
|
(i o p) @uml-o
|
||||||
(a s d) @uml-a
|
(a s d) @uml-a
|
||||||
(s d f) @uml-s
|
(s d f) @uml-s
|
||||||
|
|
||||||
(h j) (macro S-scln S-scln)
|
(h j) (macro S-scln S-scln)
|
||||||
(j i) (macro - S-.)
|
;;(j i) (macro - S-.)
|
||||||
(j l) C-bspc)
|
(j l) C-bspc)
|
||||||
|
|
||||||
(defalias
|
(defalias
|
||||||
|
@ -75,10 +75,11 @@
|
||||||
s-sft (tap-hold-release 150 150 s lsft)
|
s-sft (tap-hold-release 150 150 s lsft)
|
||||||
l-sft (tap-hold-release 150 150 l lsft)
|
l-sft (tap-hold-release 150 150 l lsft)
|
||||||
|
|
||||||
uml-a (macro ralt S-apos a)
|
uml-a (unicode ä)
|
||||||
uml-o (macro ralt S-apos o)
|
uml-o (unicode ö)
|
||||||
uml-u (macro ralt S-apos u)
|
uml-u (unicode ü)
|
||||||
uml-s (macro ralt s s)
|
uml-s (unicode ß)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,7 +89,7 @@ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
_ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _
|
_ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _
|
||||||
_ home S-4 S-9 S-0 end left down up rght S-7 S-5 _
|
_ home S-4 S-9 S-0 end left down up rght S-7 S-5 _
|
||||||
_ _ S-\ del S-/ S-` _ = S-3 bspc _ _ _ _
|
_ _ S-\ del S-/ S-` _ = S-3 ralt _ _ _ _
|
||||||
_ _ _ _ _ _ _ _ _
|
_ _ _ _ _ _ _ _ _
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,11 @@ setopt HIST_IGNORE_ALL_DUPS
|
||||||
setopt EXTENDED_HISTORY
|
setopt EXTENDED_HISTORY
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
|
|
||||||
|
if [ ! -f "$HISTFILE" ]; then
|
||||||
|
mkdir -p "$(dirname "$HISTFILE")"
|
||||||
|
touch "$HISTFILE"
|
||||||
|
fi
|
||||||
|
|
||||||
source "$ZDOTDIR/utils.zsh"
|
source "$ZDOTDIR/utils.zsh"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue