Skip to content

Commit

Permalink
chore(profiles): back up personal profile
Browse files Browse the repository at this point in the history
  • Loading branch information
isair committed Oct 13, 2022
1 parent 12e8baf commit ad85b01
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 54 deletions.
15 changes: 2 additions & 13 deletions profiles/isair/configurations/bashrc
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && . "$HOME/.fig/shell/bashrc.pre.bash"

# Source secrets file which holds environment
# variables for things such as tokens
source "$HOME/.secrets"
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash"

#
# Setup
#

source "$HOME"/.dotfiles-shared/shrc-setup-homebrew
source "$HOME"/.dotfiles-shared/shrc-setup-thefuck
source "$HOME"/.dotfiles-shared/shrc-setup-nvm
source "$HOME"/.dotfiles-shared/shrc-setup-android-studio

# Use Java 1.8 by default, because react-native
if [[ "${OSTYPE}" == darwin* ]]; then
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
fi

#
# Utility Functions
#

source "$HOME"/.dotfiles-shared/shrc-utility

# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && . "$HOME/.fig/shell/bashrc.post.bash"
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.post.bash"
5 changes: 2 additions & 3 deletions profiles/isair/configurations/profile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/profile.pre.bash" ]] && . "$HOME/.fig/shell/profile.pre.bash"

[[ -f "$HOME/.fig/shell/profile.pre.bash" ]] && builtin source "$HOME/.fig/shell/profile.pre.bash"
export LANG=en_GB.UTF-8

# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/profile.post.bash" ]] && . "$HOME/.fig/shell/profile.post.bash"
[[ -f "$HOME/.fig/shell/profile.post.bash" ]] && builtin source "$HOME/.fig/shell/profile.post.bash"
39 changes: 5 additions & 34 deletions profiles/isair/configurations/zshrc
Original file line number Diff line number Diff line change
@@ -1,59 +1,30 @@
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && . "$HOME/.fig/shell/zshrc.pre.zsh"

# Source secrets file which holds environment
# variables for things such as tokens
source "$HOME/.secrets"
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"

#
# Setup
#

source "$HOME"/.dotfiles-shared/shrc-setup-zsh
source "$HOME"/.dotfiles-shared/shrc-setup-homebrew
source "$HOME"/.dotfiles-shared/shrc-setup-thefuck
source "$HOME"/.dotfiles-shared/shrc-setup-nvm
source "$HOME"/.dotfiles-shared/shrc-setup-chruby
source "$HOME"/.dotfiles-shared/shrc-setup-android-studio

# Use Java 1.8 by default, because react-native
if [[ "${OSTYPE}" == darwin* ]]; then
export JAVA_HOME="$(/usr/libexec/java_home -v 1.8 | grep jdk)"
fi

# Set default editors
export VISUAL=vim
export EDITOR="${VISUAL}"
export REACT_EDITOR=code

#
# Aliases
#

source "$HOME"/.dotfiles-shared/shrc-alias-git

alias .p="cd ~/projects"

alias .bin="bundle install --path=vendor/bundle"
alias .bup="bundle update"
alias .bx="bundle exec"

alias .pin="pod install"
alias .pup="pod update"

alias .cloud="sudo ifconfig awdl0 down"

#
# Utility Functions
#

source "$HOME"/.dotfiles-shared/shrc-utility

#
# Custom Shell Prompt
#

eval "$(starship init zsh)"
# tabtab source for packages
# uninstall by removing these lines
[[ -f ~/.config/tabtab/__tabtab.zsh ]] && . ~/.config/tabtab/__tabtab.zsh || true

# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"
10 changes: 6 additions & 4 deletions profiles/isair/packages/brew-cask.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ authy
balenaetcher
battle-net
bit-slicer
brave-browser
burp-suite
cd-to
charles
Expand All @@ -28,31 +27,34 @@ imageoptim
inkscape
ipfs
jdownloader
karabiner-elements
keepingyouawake
logisim-evolution
microsoft-auto-update
microsoft-edge
ngrok
notion
notunes
nvidia-geforce-now
onionshare
onyx
openemu
porting-kit
postman
protonvpn
pycharm-ce-with-anaconda-plugin
rectangle
securid
sidequest
signal
steam
syncthing
temurin8
the-unarchiver
tor-browser
unofficial-wineskin
visual-studio-code
vlc
warp
webcatalog
webstorm
whatsapp
zerotier-one
zoom
6 changes: 6 additions & 0 deletions profiles/isair/packages/brew.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ automake
awscli
bfg
bison
cabextract
chruby
circleci
clang-format
code-server
dlib
ffmpeg@4
firebase-cli
git
git-flow
Expand All @@ -19,14 +21,18 @@ graphicsmagick
gum
imagemagick
jq
luajit-openresty
lynx
macos-term-size
mkvtoolnix
mpv
nghttp2
p7zip
potrace
ruby-install
rust
scrcpy
shellcheck
speedtest-cli
starship
the_silver_searcher
Expand Down

0 comments on commit ad85b01

Please sign in to comment.