Skip to content

Commit

Permalink
warp is all you need shell wise
Browse files Browse the repository at this point in the history
  • Loading branch information
pathikrit committed Mar 31, 2023
1 parent aae63f6 commit ec54837
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ brews=(
dropbox
firefox
google-chrome
hyper
warp
jetbrains-toolbox
rectangle
stats
Expand All @@ -28,7 +28,6 @@ brews=(
python3
sbt
scala
xonsh

# Software
aerial
Expand Down Expand Up @@ -243,26 +242,13 @@ if [[ -z "${CI}" ]]; then
open https://github.com/settings/ssh/new
fi

echo "Upgrading bash ..."
brew install bash bash-completion@2 fzf
# /usr/local/opt/fzf/install
sudo chsh -s /bin/bash
# Install https://github.com/twolfson/sexy-bash-prompt
touch ~/.bash_profile # see https://github.com/twolfson/sexy-bash-prompt/issues/51
# shellcheck source=/dev/null
(cd /tmp && git clone --depth 1 --config core.autocrlf=false https://github.com/twolfson/sexy-bash-prompt && cd sexy-bash-prompt && make install) && source ~/.bashrc
hstr --show-configuration >> ~/.bashrc
echo "Setting up bash aliases ..."
echo "
alias del='mv -t ~/.Trash/'
alias ls='exa -l'
alias cat=bat
" >> ~/.bash_profile

echo "Setting up xonsh ..."
sudo bash -c "which xonsh >> /private/etc/shells"
#sudo chsh -s "$(which xonsh)"
echo "source-bash --overwrite-aliases ~/.bash_profile" >> ~/.xonshrc

echo "Installing secondary packages ..."
install 'pip3 install --upgrade' "${pips[@]}"
install 'gem install' "${gems[@]}"
Expand Down

0 comments on commit ec54837

Please sign in to comment.