All types of customisations
This commit is contained in:
parent
7b808eca84
commit
5b32a4f4e0
3 changed files with 30 additions and 20 deletions
|
@ -5,8 +5,8 @@
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
[user]
|
[user]
|
||||||
name = Spotlight
|
name = Spotlight
|
||||||
email = spotlight@joscomputing.space
|
email = spotlight@joscomputing.space
|
||||||
signingkey = A1C731549463236D88A17111CC3F4E0080AC47A3
|
signingkey = 6EF6CBB6420B81DA3CCACFEA874AA355B3209BDC
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
[color]
|
[color]
|
||||||
|
|
4
vimrc
4
vimrc
|
@ -7,8 +7,8 @@ filetype plugin indent on
|
||||||
" two-spaced tabs
|
" two-spaced tabs
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set softtabstop=0 noexpandtab
|
set softtabstop=0 noexpandtab
|
||||||
set shiftwidth=4
|
set shiftwidth=2
|
||||||
set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab
|
set tabstop=2 softtabstop=0 expandtab shiftwidth=2 smarttab
|
||||||
|
|
||||||
" vim-airline
|
" vim-airline
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
42
zshrc
42
zshrc
|
@ -23,7 +23,6 @@ BULLETTRAIN_PROMPT_ORDER=(
|
||||||
time
|
time
|
||||||
status
|
status
|
||||||
custom
|
custom
|
||||||
context
|
|
||||||
dir
|
dir
|
||||||
screen
|
screen
|
||||||
ruby
|
ruby
|
||||||
|
@ -31,6 +30,7 @@ BULLETTRAIN_PROMPT_ORDER=(
|
||||||
git
|
git
|
||||||
)
|
)
|
||||||
BULLETTRAIN_PROMPT_CHAR=">"
|
BULLETTRAIN_PROMPT_CHAR=">"
|
||||||
|
BULLETTRAIN_DIR_BG="black"
|
||||||
|
|
||||||
# Install plugins if there are plugins that have not been installed
|
# Install plugins if there are plugins that have not been installed
|
||||||
if ! zplug check --verbose; then
|
if ! zplug check --verbose; then
|
||||||
|
@ -47,14 +47,21 @@ zplug load
|
||||||
# the env _essentials_
|
# the env _essentials_
|
||||||
#########
|
#########
|
||||||
|
|
||||||
# Local stuff, homebrew python, theos
|
export PATH="${HOME}/bin:$PATH"
|
||||||
export PATH="${HOME}/bin:${HOME}/bin/android-sdk/platform-tools:${PATH}"
|
|
||||||
|
# Android SDK
|
||||||
|
if [ -d ${HOME}/bin/android-sdk ]; then
|
||||||
|
export PATH="${HOME}/bin/android-sdk/platform-tools:${PATH}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Google Cloud tools
|
# Google Cloud tools
|
||||||
source ${HOME}/bin/google-cloud-sdk/completion.zsh.inc
|
if [ -d ${HOME}/bin/google-cloud-sdk ]; then
|
||||||
source ${HOME}/bin/google-cloud-sdk/path.zsh.inc
|
source ${HOME}/bin/google-cloud-sdk/completion.zsh.inc
|
||||||
|
source ${HOME}/bin/google-cloud-sdk/path.zsh.inc
|
||||||
|
fi
|
||||||
|
|
||||||
export EDITOR=vim
|
# iTerm2 integration, only if detected as installed
|
||||||
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
export GOPATH=${HOME}/go
|
export GOPATH=${HOME}/go
|
||||||
|
@ -63,13 +70,14 @@ export PATH=${GOPATH}/bin:${PATH}
|
||||||
# theos
|
# theos
|
||||||
export THEOS=${HOME}/.theos
|
export THEOS=${HOME}/.theos
|
||||||
export PATH=${THEOS}/bin:$PATH
|
export PATH=${THEOS}/bin:$PATH
|
||||||
export THEOS_DEVICE_IP=localhost THEOS_DEVICE_PORT=2222
|
|
||||||
|
|
||||||
# devkitPro and the like
|
# devkitPro and the like
|
||||||
export DEVKITPRO=/opt/devkitpro
|
if [ -d /opt/devkitpro ]; then
|
||||||
export DEVKITARM=/opt/devkitpro/devkitARM
|
export DEVKITPRO=/opt/devkitpro
|
||||||
export DEVKITPPC=/opt/devkitpro/devkitPPC
|
export DEVKITARM=/opt/devkitpro/devkitARM
|
||||||
export PATH=/opt/devkitpro/tools/bin:$PATH
|
export DEVKITPPC=/opt/devkitpro/devkitPPC
|
||||||
|
export PATH=/opt/devkitpro/tools/bin:$PATH
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||||
source /etc/profile.d/vte.sh
|
source /etc/profile.d/vte.sh
|
||||||
|
@ -80,10 +88,10 @@ if [[ $OSTYPE == darwin* ]]; then
|
||||||
export PATH="/usr/local/bin:/usr/local/sbin:${PATH}"
|
export PATH="/usr/local/bin:/usr/local/sbin:${PATH}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]]
|
if [ -s $HOME/.rvm/scripts/rvm ]; then
|
||||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
source "$HOME/.rvm/scripts/rvm"
|
||||||
export PATH="$PATH:$HOME/.rvm/bin"
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
# Adapted from https://github.com/isaacmorneau/dotfiles/blob/882f11172a2c0fd1aa7020d627d2978e5d60f6b0/.bashrc#L125-L130
|
# Adapted from https://github.com/isaacmorneau/dotfiles/blob/882f11172a2c0fd1aa7020d627d2978e5d60f6b0/.bashrc#L125-L130
|
||||||
function mvsane () {
|
function mvsane () {
|
||||||
|
@ -92,4 +100,6 @@ function mvsane () {
|
||||||
mv "$F" $(echo "$F" | sed -r 's/[ ]+/_/g;s/[^a-zA-Z0-9_.-]//g;s/[_-]{2,}/-/g;')
|
mv "$F" $(echo "$F" | sed -r 's/[ ]+/_/g;s/[^a-zA-Z0-9_.-]//g;s/[_-]{2,}/-/g;')
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
. "/Users/spot/bin/acme.sh.env"
|
|
||||||
|
# Personal preferences
|
||||||
|
export EDITOR=vim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue