.bashrc
Green Is Better Than Purple Mac Os Catalina
I don't find Catalina any more resource hungry than Mojave on my Mac Mini 2014. But the lack of 32 bit app support really hit some users by surprise who failed to do their homework before upgrading. Spinningskyrabbit mac os. Big Sur again looks to move into a new realm for Mac OS because it will have support for Apple silicon and move closer to marrying IOS apps to.
# |
# ~/.bashrc |
# |
# If not running interactively, don't do anything |
#[[ $- != *i* ]] && return |
### COLORS ### |
export COLOR_NC='e[0m'# No Color |
export COLOR_WHITE='e[1;37m' |
export COLOR_BLACK='e[0;30m' |
export COLOR_BLUE='e[0;34m' |
export COLOR_LIGHT_BLUE='e[1;34m' |
export COLOR_GREEN='e[0;32m' |
export COLOR_LIGHT_GREEN='e[1;32m' |
export COLOR_CYAN='e[0;36m' |
export COLOR_LIGHT_CYAN='e[1;36m' |
export COLOR_RED='e[0;31m' |
export COLOR_LIGHT_RED='e[1;31m' |
export COLOR_PURPLE='e[0;35m' |
export COLOR_LIGHT_PURPLE='e[1;35m' |
export COLOR_BROWN='e[0;33m' |
export COLOR_YELLOW='e[1;33m' |
export COLOR_GRAY='e[1;30m' |
export COLOR_LIGHT_GRAY='e[0;37m' |
### AUTO COMPLETION ### |
[ -f'$(brew --prefix)/etc/bash_completion.d/git-completion.bash' ] &&.$(brew --prefix)/etc/bash_completion.d/git-completion.bash |
[[ -r'/usr/local/etc/profile.d/bash_completion.sh' ]] &&.'/usr/local/etc/profile.d/bash_completion.sh' |
### TERMINAL PROMPT ### |
export PS1='[e[1;36m]D{%a %d-%m}[e[m] ([e[1;35m]u@h[e[m]) : [e[1;32m]w[e[m][${COLOR_LIGHT_CYAN}]$(__git_ps1 ' %s')[${COLOR_NC}] ' |
export PS2='> ' |
export PS3='#? ' |
export PS4='+ ' |
### ALIASES ### |
alias vi=vim |
export GREP_OPTIONS='--color=auto' |
export GREP_COLOR='1;32' |
export CLICOLOR='1' |
alias ls='ls -G'# OS-X SPECIFIC - the -G command in OS-X is for colors, in Linux it's no groups |
export LSCOLORS='gxDxFxdxCxExExhbadgxgx' |
### RVM ### |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. |
export PATH='$PATH:$HOME/.rvm/bin' |
[[ -s'$HOME/.rvm/scripts/rvm' ]] &&source'$HOME/.rvm/scripts/rvm'# Load RVM into a shell session *as a function* |
### NVM ### |
export NVM_DIR='$HOME/.nvm' |
[ -s'/usr/local/opt/nvm/nvm.sh' ] &&.'/usr/local/opt/nvm/nvm.sh'# This loads nvm |
[ -s'/usr/local/opt/nvm/etc/bash_completion' ] &&.'/usr/local/opt/nvm/etc/bash_completion'# This loads nvm bash_completion |
### GIT ALIASES ### |
alias gs='git status ' |
alias ga='git add ' |
alias gap='git add --patch' |
alias gb='git branch ' |
alias gc='git commit' |
alias gd='git diff' |
alias go='git checkout ' |
alias gk='gitk --all&' |
alias gx='gitx --all' |
alias got='git ' |
alias get='git ' |
### BASH HISTORY ### |
bind''e[A': history-search-backward' |
bind''e[B': history-search-forward' |
bind''e[1;5C':forward-word' |
bind''e[1;5D':backward-word' |
shopt -s histappend |
PROMPT_COMMAND='history -a' |
# Number of lines to keep in the history file |
export HISTSIZE=1000000 |
# bash history is timestamped as YYYY-MM-DD HH:MM:SS |
export HISTTIMEFORMAT='%F %T ' |
# Don't put duplicate lines in the history. |
export HISTCONTROL=ignoredups |
############################## |
# After each command, update LINES and COLUMNS to reflect the current window size |
shopt -s checkwinsize |
# Opt out of homebrew analytics collection |
export HOMEBREW_NO_ANALYTICS=1 |
I don't find Catalina any more resource hungry than Mojave on my Mac Mini 2014. But the lack of 32 bit app support really hit some users by surprise who failed to do their homework before upgrading. Spinningskyrabbit mac os. Big Sur again looks to move into a new realm for Mac OS because it will have support for Apple silicon and move closer to marrying IOS apps to.
# |
# ~/.bashrc |
# |
# If not running interactively, don't do anything |
#[[ $- != *i* ]] && return |
### COLORS ### |
export COLOR_NC='e[0m'# No Color |
export COLOR_WHITE='e[1;37m' |
export COLOR_BLACK='e[0;30m' |
export COLOR_BLUE='e[0;34m' |
export COLOR_LIGHT_BLUE='e[1;34m' |
export COLOR_GREEN='e[0;32m' |
export COLOR_LIGHT_GREEN='e[1;32m' |
export COLOR_CYAN='e[0;36m' |
export COLOR_LIGHT_CYAN='e[1;36m' |
export COLOR_RED='e[0;31m' |
export COLOR_LIGHT_RED='e[1;31m' |
export COLOR_PURPLE='e[0;35m' |
export COLOR_LIGHT_PURPLE='e[1;35m' |
export COLOR_BROWN='e[0;33m' |
export COLOR_YELLOW='e[1;33m' |
export COLOR_GRAY='e[1;30m' |
export COLOR_LIGHT_GRAY='e[0;37m' |
### AUTO COMPLETION ### |
[ -f'$(brew --prefix)/etc/bash_completion.d/git-completion.bash' ] &&.$(brew --prefix)/etc/bash_completion.d/git-completion.bash |
[[ -r'/usr/local/etc/profile.d/bash_completion.sh' ]] &&.'/usr/local/etc/profile.d/bash_completion.sh' |
### TERMINAL PROMPT ### |
export PS1='[e[1;36m]D{%a %d-%m}[e[m] ([e[1;35m]u@h[e[m]) : [e[1;32m]w[e[m][${COLOR_LIGHT_CYAN}]$(__git_ps1 ' %s')[${COLOR_NC}] ' |
export PS2='> ' |
export PS3='#? ' |
export PS4='+ ' |
### ALIASES ### |
alias vi=vim |
export GREP_OPTIONS='--color=auto' |
export GREP_COLOR='1;32' |
export CLICOLOR='1' |
alias ls='ls -G'# OS-X SPECIFIC - the -G command in OS-X is for colors, in Linux it's no groups |
export LSCOLORS='gxDxFxdxCxExExhbadgxgx' |
### RVM ### |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. |
export PATH='$PATH:$HOME/.rvm/bin' |
[[ -s'$HOME/.rvm/scripts/rvm' ]] &&source'$HOME/.rvm/scripts/rvm'# Load RVM into a shell session *as a function* |
### NVM ### |
export NVM_DIR='$HOME/.nvm' |
[ -s'/usr/local/opt/nvm/nvm.sh' ] &&.'/usr/local/opt/nvm/nvm.sh'# This loads nvm |
[ -s'/usr/local/opt/nvm/etc/bash_completion' ] &&.'/usr/local/opt/nvm/etc/bash_completion'# This loads nvm bash_completion |
### GIT ALIASES ### |
alias gs='git status ' |
alias ga='git add ' |
alias gap='git add --patch' |
alias gb='git branch ' |
alias gc='git commit' |
alias gd='git diff' |
alias go='git checkout ' |
alias gk='gitk --all&' |
alias gx='gitx --all' |
alias got='git ' |
alias get='git ' |
### BASH HISTORY ### |
bind''e[A': history-search-backward' |
bind''e[B': history-search-forward' |
bind''e[1;5C':forward-word' |
bind''e[1;5D':backward-word' |
shopt -s histappend |
PROMPT_COMMAND='history -a' |
# Number of lines to keep in the history file |
export HISTSIZE=1000000 |
# bash history is timestamped as YYYY-MM-DD HH:MM:SS |
export HISTTIMEFORMAT='%F %T ' |
# Don't put duplicate lines in the history. |
export HISTCONTROL=ignoredups |
############################## |
# After each command, update LINES and COLUMNS to reflect the current window size |
shopt -s checkwinsize |
# Opt out of homebrew analytics collection |
export HOMEBREW_NO_ANALYTICS=1 |
- 64-bit app on Mac Which macOS Should I Use. If you have an older Mac which is not eligible to upgrade with some latest software or hardware, I'd suggest upgrading at least to Sierra (or better High Sierra) for the following reasons. Sierra is still supported by Apple, and it.
- Analytics cookies. We use analytics cookies to understand how you use our websites so we can make them better, e.g. They're used to gather information about the pages you visit and how many clicks you need to accomplish a task.
- The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. Join the global Raspberry Pi community.
- Which Mac operating system is the best is a topic of numerous debates among Apple fans. Since the mission of this blog is to refute myths and legends around Macs, it's time for me to provide my 2 cents about the issue on hand. While everything below is just my opinion, as a long-time Mac user and v.
Os Better Than Windows 10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment