Created
December 6, 2016 19:46
-
-
Save JamesHagerman/ba08a162ea8287a984f01e233c5b491e to your computer and use it in GitHub Desktop.
LDAP/AD oh-my-zsh init and colors setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # My edits: | |
| alias ip='ip -c' | |
| # Set some colors up: | |
| # Oops! We have moved on to dconf: | |
| echo "setting FUNK colors" | |
| # This should be "Default" | |
| profile_id=b1dcc9dd-5262-4d8d-a863-c897e6d979b9 | |
| #profile_id=$(gsettings get org.gnome.Terminal.ProfilesList default) | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/bold-color-same-as-fg "true" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/use-theme-colors "false" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/background-transparency-percent "0" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/use-transparent-background "false" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/palette "['#3C3C2D2D2626', '#F7F700007C7C', '#7C7CF7F70000', '#F7F77C7C0000', '#00007C7CF7F7', '#7C7C0000F7F7', '#0000F7F77C7C', '#B6B6A7A79F9F', '#7C7C6D6D6565', '#FFFF5454A9A9', '#A9A9FFFF5454', '#FFFFA9A95454', '#5454A9A9FFFF', '#A9A95454FFFF', '#5454FFFFA9A9', '#F4F4E5E5DDDD']" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/visible-name "'Default'" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/bold-color "'#000000000000'" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/foreground-color "'#D3D3CFCFCDCD'" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/background-color "'#040405050404'" | |
| dconf write /org/gnome/terminal/legacy/profiles:/:$profile_id/use-theme-transparency "false" | |
| # Set up some paths: | |
| export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
| export PATH="$PATH:/opt/logstash/bin" # Add logstash to PATH | |
| export SQS_ACCESS_KEY_ID= | |
| export SQS_SECRET_ACCESS_KEY= | |
| export AWS_ACCESS_KEY_ID= | |
| export AWS_SECRET_ACCESS_KEY= | |
| export AWS_DEFAULT_REGION=us-west-2 | |
| # Switch to oh-my-zsh because it is awesome: | |
| if [ "$PS1" ]; then | |
| exec /usr/bin/zsh -l | |
| export SHELL=/usr/bin/zsh | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment