Skip to content

Commit

Permalink
Update tool versions, add fig-provided scripts, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
klundberg committed May 28, 2022
1 parent 7abd922 commit 9b15849
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 4 deletions.
7 changes: 6 additions & 1 deletion bash_profile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Fig pre block. Keep at the top of this file.
. "$HOME/.fig/shell/bash_profile.pre.bash"
#!/bin/bash

if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
fi

# Fig post block. Keep at the bottom of this file.
. "$HOME/.fig/shell/bash_profile.post.bash"
5 changes: 5 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Fig pre block. Keep at the top of this file.
. "$HOME/.fig/shell/bashrc.pre.bash"
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
Expand All @@ -11,3 +13,6 @@ alias unfuckxcode='rm -rf ~/Library/Developer/Xcode/DerivedData; rm -rf ~/Librar

export [email protected]
export [email protected]

# Fig post block. Keep at the bottom of this file.
. "$HOME/.fig/shell/bashrc.post.bash"
1 change: 1 addition & 0 deletions config/fish/conf.d/00_fig_pre.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eval (~/.local/bin/fig init fish pre --rcfile 00_fig_pre | string split0)
1 change: 1 addition & 0 deletions config/fish/conf.d/99_fig_post.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eval (~/.local/bin/fig init fish post --rcfile 99_fig_post | string split0)
1 change: 1 addition & 0 deletions config/fish/fish_variables
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/Users/klundberg/\x2elocal/bin\x1e/Users/klundberg/\x2efig/bin
2 changes: 1 addition & 1 deletion config/omf/init.fish
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ source "$ASDF_DIR/asdf.fish"

if [ -e ~/.dotfiles/local/init.fish ]
source ~/.dotfiles/local/init.fish
end
end
2 changes: 2 additions & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@
diffFilter = diff-so-fancy --patch
[init]
defaultBranch = main
[advice]
detachedHead = false
4 changes: 2 additions & 2 deletions tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nodejs 12.16.1
python 3.9.2
ruby 3.0.1
ruby 3.1.2
rust stable
swiftlint 0.43.1
swiftlint 0.47.0
6 changes: 6 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Fig pre block. Keep at the top of this file.
. "$HOME/.fig/shell/zshrc.pre.zsh"


# Fig post block. Keep at the bottom of this file.
. "$HOME/.fig/shell/zshrc.post.zsh"

0 comments on commit 9b15849

Please sign in to comment.