This script will install iTerm2, oh-my-zsh, Fig and it will download material-design-colors, powerlevel10k and DroidSansMono Nerd Font from nerd-fonts
Iterm2 works on Macs with macOS 10.12 or newer.
chmod +x install_cosmic_terminal.sh
Run
./install_cosmic_terminal.sh
or (thanks to Aidan)
curl -s https://raw.githubusercontent.com/lifeparticle/Cosmic-Terminal/master/install_cosmic_terminal.sh | sh
vim ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
3.1. iTerm2 > Preferences > Profiles > Text Tab
3.2. Click Change font
3.3. Select DroidSansMono Nerd Font
For more fonts https://github.com/ryanoasis/nerd-fonts
4.1 iTerm2 > Preferences > Profiles > Colors Tab
4.2 Click Color Presets...
4.3 Click Import...
4.4 Choose material-design-colors.itermcolors file from Downloads folder
4.5 Select the material-design-colors from the dropdown
function gitall() {
git add .
if [ "$1" != "" ]
then
git commit -m "$1"
else
git commit -m update # default commit message is `update`
fi # closing statement of if-else block
git push origin HEAD
}
gitdeleteall() {
if [ "$1" != "" ]
then
git branch -D "$1"
git push origin --delete "$1"
else
echo "provide branch name"
fi
}
alias gcm="git checkout main";
alias gs="git status";
alias gp="git pull";
alias gf="git fetch";
-
6.1. iTerm2 > Preferences > Profiles > Session tab -> Status bar enabled [check]
-
6.1.1 Configure status bar
-
6.1.2 Advanced - Background color -> Use the color picker and choose the backgroung color of the terminal
-
-
6.2. iTerm2 > Preferences > Appearance > Status bar locatio [Bottom]
plugins=(
git
zsh-autosuggestions
)
- Settings
~/.fig/settings.json
{
"autocomplete.disable": false,
"autocomplete.theme": "dark",
"autocomplete.firstTokenCompletion": true
}
- run
./uninstall_cosmic_terminal.sh
or
curl -s https://raw.githubusercontent.com/lifeparticle/Cosmic-Terminal/master/uninstall_cosmic_treminal.sh | sh
- macOS Big Sur (Version 11.3)
cat /etc/shells
echo $0
chsh -s /bin/bash
chsh -s /bin/zsh
# if you're using bash
$ echo 'export PATH="/usr/local/a/b/c:$PATH"' >> ~/.bashrc
$ source ~/.bashrc
# or if you're using zsh
$ echo 'export PATH="/usr/local/a/b/c:$PATH"' >> ~/.zshrc
$ source ~/.zshrc
Please create an issue with as much information you can. Thank you.
Mahbub Zaman (https://mahbub.ninja)
MIT License