-
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.
Merge pull request #23 from nomutin/bash
Bash
- Loading branch information
Showing
15 changed files
with
138 additions
and
420 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ tap "homebrew/bundle" | |
tap "homebrew/cask-fonts" | ||
|
||
brew "mas" | ||
brew "wget" | ||
|
||
cask "arc" | ||
cask "alacritty" | ||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
|
||
# ===== Settings ===== | ||
HISTSIZE=1000 | ||
HISTFILESIZE=2000 | ||
shopt -s checkwinsize | ||
|
||
# ===== XGD PATH ===== | ||
export XDG_CONFIG_HOME="$HOME/.config" | ||
export XDG_DATA_HOME="$HOME/.local/share" | ||
export XDG_CACHE_HOME="$HOME/.cache" | ||
export XDG_STATE_HOME="$HOME/.local/state" | ||
|
||
mkdir -p "${XDG_STATE_HOME}"/bash | ||
export ANDROID_USER_HOME="$XDG_DATA_HOME"/android | ||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv | ||
export DOTNET_CLI_HOME="$XDG_DATA_HOME"/dotnet | ||
export HISTFILE="$XDG_STATE_HOME"/bash/history | ||
export KERAS_HOME="$XDG_STATE_HOME"/keras | ||
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc | ||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history | ||
export TERMINFO="$XDG_DATA_HOME"/terminfo | ||
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo | ||
|
||
# ===== Aliases ===== | ||
alias grep='grep --color=auto' | ||
alias egrep='egrep --color=auto' | ||
alias fgrep='fgrep --color=auto' | ||
alias ls='ls --color=auto' | ||
alias ll='ls -alF' | ||
alias la='ls -A' | ||
alias l='ls -CF' | ||
alias wget='wget --hsts-file="$XDG_DATA_HOME"/wget-hsts' | ||
|
||
# ===== Plugins ===== | ||
if [ -d /opt/homebrew ]; then | ||
eval "$(/opt/homebrew/bin/brew shellenv)" | ||
fi | ||
eval "$(~/.local/bin/mise activate bash)" | ||
source "$HOME/.rye/env" |
This file was deleted.
Oops, something went wrong.
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
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
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,4 +1,4 @@ | ||
shell = "zsh" | ||
shell = "bash" | ||
|
||
[env] | ||
TERM = "xterm-256color" | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
prefix=${XDG_DATA_HOME}/npm | ||
cache=${XDG_CACHE_HOME}/npm | ||
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js | ||
logs-dir=${XDG_STATE_HOME}/npm/logs |
Oops, something went wrong.