Skip to content

Commit

Permalink
add direnv hook and starship.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
oppegard committed Apr 6, 2021
1 parent 5ca33b3 commit 5d44018
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,13 @@ echo Setting up misc
(
set -x
# if ~/bin symlink is already set up, this will create another symlink at ~/bin/bin :(
ln -sf "$DOTFILES_DIR"/bin "$HOME"/bin
if [[ -e "$HOME/bin" ]]; then
echo "SKIPPING symlink of HOME/bin as it already exists."
else
ln -sf "$DOTFILES_DIR/bin" "$HOME/bin"
fi
)

echo Setting up starship
mkdir -p "${HOME}/.config"
ln -sf "$DOTFILES_DIR/starship.toml" "${HOME}/.config/starship.toml"
Empty file added starship.toml
Empty file.
1 change: 1 addition & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export EDITOR=$VISUAL

bindkey "^X\\x7f" backward-kill-line

eval "$(direnv hook zsh)"
eval "$(starship init zsh)"

0 comments on commit 5d44018

Please sign in to comment.