1
0
Fork 0

Use environment.d

This commit is contained in:
xtex 2024-01-01 08:24:38 +08:00
parent fd8d2189a1
commit 2a18fa030d
Signed by: xtex
GPG key ID: B918086ED8045B91
5 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1 @@
EDITOR=/usr/bin/nvim

View file

@ -0,0 +1,12 @@
PATH="/home/xtex/.local/bin:$PATH"
GRADLE_USER_HOME="/opt/gradle"
RUSTUP_HOME="/opt/rustup"
CARGO_HOME="/opt/cargo"
SDKMAN_DIR="/opt/sdkman"
ZVM_INSTALL="/opt/zvm/self"
PATH="$PATH:/opt/zvm/bin:$ZVM_INSTALL"
GOROOT="/opt/go"

View file

@ -0,0 +1 @@
SSH_ASKPASS=/usr/bin/ksshaskpass

3
.gitignore vendored
View file

@ -11,6 +11,9 @@
!/.config/user-dirs.dirs
!/.config/autostart/ssh-add.desktop
!/.config/environment.d/sdk.conf
!/.config/environment.d/editor.conf
!/.config/environment.d/ssh.conf
!/.config/Code - Exploration/User/settings.json
!/.config/Code - Insiders/User/settings.json
!/.config/fish/config.fish

View file

@ -10,7 +10,7 @@ test -z "$PROFILEREAD" && . /etc/profile || true
# Some applications read the EDITOR variable to determine your favourite text
# editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
export EDITOR=/usr/bin/nvim
#export EDITOR=/usr/bin/mcedit
# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server