https://github.com/inket/terminal-setup
My Terminal theme/settings
https://github.com/inket/terminal-setup
Last synced: 9 months ago
JSON representation
My Terminal theme/settings
- Host: GitHub
- URL: https://github.com/inket/terminal-setup
- Owner: inket
- Created: 2015-11-05T02:39:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-01T15:54:48.000Z (about 9 years ago)
- Last Synced: 2025-03-27T06:44:52.007Z (10 months ago)
- Size: 2.93 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
These are my Terminal's settings:
- Modded `Galaxy` Theme (original [here](https://github.com/lysyi3m/osx-terminal-themes))
- Font: `Akkurat Mono` 10pt.
- `~/.bash_profile`:
```shell
cd ~/Desktop
# Set up the Terminal colors
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
reset=$(tput sgr0)
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
# and the prompt
ttynumber=$(echo "`tty`" | sed 's/\/dev\/ttys0\{0,2\}//g')
if [[ "$ttynumber" == "0" ]]; then
ttynumber=" "
else
rightparentheses=")"
ttynumber=" ($ttynumber$rightparentheses "
fi
export PS1="\[$red\]\w \[$yellow\]>\[$green\]$ttynumber\[$reset\]"
```