aboutsummaryrefslogtreecommitdiff
path: root/mac/zshrc
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2021-01-17 15:55:40 +0100
committerjakobst1n <jakob.stendahl@outlook.com>2021-01-17 15:57:20 +0100
commitd0f5528ec11c9957dd9b62688771eb62acb0c47f (patch)
treeb32a203aa1bdadcbbde4e158beaae764ebe72215 /mac/zshrc
parent5c196fb44cd3d569fe5aafc267c8fd5a2abffeb3 (diff)
downloaddotfiles-d0f5528ec11c9957dd9b62688771eb62acb0c47f.tar.gz
dotfiles-d0f5528ec11c9957dd9b62688771eb62acb0c47f.zip
Do things with zsh and tmux
Diffstat (limited to 'mac/zshrc')
-rw-r--r--mac/zshrc69
1 files changed, 0 insertions, 69 deletions
diff --git a/mac/zshrc b/mac/zshrc
deleted file mode 100644
index 3ac3218..0000000
--- a/mac/zshrc
+++ /dev/null
@@ -1,69 +0,0 @@
-# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
-# Initialization code that may require console input (password prompts, [y/n]
-# confirmations, etc.) must go above this block; everything else may go below.
-if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
- source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
-fi
-
-# If you come from bash you might have to change your $PATH.
-# export PATH=$HOME/bin:/usr/local/bin:$PATH
-
-# Check if env setup file exists
-if [ ! -f /usr/local/etc/zsh_env_setup ]; then
- echo "export ZSH=$HOME/.oh-my-zsh" > /usr/local/etc/zsh_env_setup
- echo "DEFAULT_USER=$USER" >> /usr/local/etc/zsh_env_setup
-fi
-
-# Source env setup file
-source /usr/local/etc/zsh_env_setup
-
-# Source powerlevel10k theme
-source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme
-
-COMPLETION_WAITING_DOTS="true"
-
-# Setup plugins
-plugins=(
- git
- zsh-autosuggestions
- zsh-syntax-highlighting
-)
-
-# Setup oh-my-zsh
-source $ZSH/oh-my-zsh.sh
-
-# Modify locale and path
-export LC_ALL=en_US.UTF-8
-export LANG=en_US.UTF-8
-path+=("/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands")
-export PATH
-export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/local/bin:/opt/local/sbin
-path+=("$(readlink /Users/$DEFAULT_USER/bin)")
-export path
-eval "$(pyenv init -)"
-
-# Add aliases
-alias krak='/Applications/GitKraken.app/Contents/MacOS/GitKraken -p "$(PWD)" &>> /dev/null &'
-alias lsp="ps -ax | grep"
-alias lsa="ls -la"
-alias lsg="ls | grep"
-alias lsag="ls -la | grep"
-alias ls="tput setaf 3 && echo \"'lsa' for 'ls -la', \n'lsg' for 'ls | grep',\n'lsag' for 'ls -la | grep',\n'lsp' for 'ps -ax |grep'\" && tput sgr0 && ls"
-
-# man pages in colors
-man() {
- LESS_TERMCAP_md=$'\e[01;31m' \
- LESS_TERMCAP_me=$'\e[0m' \
- LESS_TERMCAP_se=$'\e[0m' \
- LESS_TERMCAP_so=$'\e[01;44;33m' \
- LESS_TERMCAP_ue=$'\e[0m' \
- LESS_TERMCAP_us=$'\e[01;32m' \
- command man "$@"
-}
-
-[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
-
-#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
-export SDKMAN_DIR="/Users/jakobstendahl/.sdkman"
-[[ -s "/Users/jakobstendahl/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/jakobstendahl/.sdkman/bin/sdkman-init.sh"
-