-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
522 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Stop ssh-agent if it is started | ||
[ -v "$SSH_AUTH_SOCK" ] && eval "$(ssh-agent -k)" | ||
[ -n "$SSH_AUTH_SOCK" ] && eval "$(ssh-agent -k)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
# Start ssh-agent if it is not already started | ||
[ -v "$SSH_AUTH_SOCK" ] || eval "$(ssh-agent -s)" | ||
[ -z "$SSH_AUTH_SOCK" ] && eval "$(ssh-agent -s)" | ||
|
||
# Update rust toolchains | ||
rustup update | ||
|
||
# Set JAVA_HOME | ||
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk" | ||
# Set environment variables | ||
export JAVA_HOME="/usr/lib/jvm/default" | ||
export XDG_CACHE_HOME="$HOME/.cache" | ||
export XDG_CONFIG_HOME="$HOME/.config" | ||
export XDG_DATA_HOME="$HOME/.local/share" | ||
export XDG_STATE_HOME="$HOME/.local/state" | ||
|
||
## For application data/settings | ||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | ||
export ANDROID_HOME="$XDG_DATA_HOME"/android | ||
export CARGO_HOME="$XDG_DATA_HOME"/cargo | ||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg | ||
export GOPATH="$XDG_DATA_HOME"/go | ||
export PLATFORMIO_CORE_DIR="$XDG_DATA_HOME"/platformio | ||
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup | ||
export HISTFILE="$XDG_STATE_HOME"/bash/history |
Empty file.
Oops, something went wrong.