-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
61 lines (49 loc) · 1.82 KB
/
Copy pathzshrc
File metadata and controls
61 lines (49 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
# if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
# source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
# fi
# Customize to your needs...
# http://jeromedalbert.com/migrate-from-oh-my-zsh-to-prezto/
# ~/.zshrc: executed by zsh(1) for non-login shells.
# https://dotfiles.github.io
# http://www.anishathalye.com/2014/08/03/managing-your-dotfiles/
# https://medium.com/@webprolific/getting-started-with-dotfiles-43c3602fd789
# Nix update:
# nix-channel --update nixpkgs
# nix-env -u '*'
# Nix clean:
# nix-collect-garbage -d
# MacPorts update: sudo port selfupdate && sudo port upgrade -cu --enforce-variants outdated
# MacPorts clean: sudo port clean --all installed && sudo port uninstall inactive leaves
# Virtualenv activate: source venv/bin/activate
# sudo bin/rbackup macbookpro > ~/Library/Logs/rbackup/"backup-`date`.log"
# Homebrew update: brew update && brew upgrade && brew cleanup
# softwareupdate --list --include-config-data
# xcrun simctl delete unavailable
# asdf plugin-update --all
# for DOTFILE in ~/.dotfiles/{function,function_macosx,path,env.zsh,alias,completion.zsh,prompt.zsh,custom,private}; do
for DOTFILE in ~/.dotfiles/{function,function_macosx,path,env.zsh,alias,completion.zsh,prompt.zsh,custom,private}; do
[ -f "$DOTFILE" ] && source "$DOTFILE"
done
# if [ -d /opt/local/etc/profile.d ]; then
# for i in /opt/local/etc/profile.d/*.sh; do
# if [ -r $i ]; then
# . $i
# fi
# done
# unset i
# fi
# quick calculator
# ? () { echo "$*" | bc -l; }
# for python pyenv
#eval "$(pyenv init -)"
# https://asdf-vm.com/ manages packages for all languages
# replaces nvm, rvm/chruby/rbenv, etc
#source $(brew --prefix asdf)/asdf.sh
source /usr/local/opt/asdf/asdf.sh