Skip to content

Commit 9786c89

Browse files
committed
Clean up home folder aliases, prompt, zsh config
1 parent 6ad4868 commit 9786c89

File tree

5 files changed

+47
-35
lines changed

5 files changed

+47
-35
lines changed

.gitignore

+13-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*~
33
*.swp
44
.subversion
5-
.ssh
5+
66

77
# Folder view configuration files
88
.DS_Store
@@ -17,31 +17,35 @@ Thumbs.db
1717
.Trashes
1818
.Trash
1919

20-
# NPM
21-
npm-debug.log
20+
# Npm
21+
*.log
2222
node_modules
2323
bower_components
24+
.nvm
25+
.npm
26+
.pm2
27+
.node-gyp
28+
.babel.json
2429

2530
# IDEs
2631
.idea
27-
.nvm
2832

2933
# Fish
3034
fish/fish_history
3135
fish/fishd.*
3236

3337
# Bash
3438
.bash_history
39+
.bash_sessions
3540

3641
# Misc
3742
.CFUserTextEncoding
38-
.bash_sessions
39-
4043
.rbenv
41-
.nvm
44+
.docker
4245
.viminfo
4346

4447
# User directories in MacOS
48+
<<<<<<< Updated upstream
4549
Applications
4650
Code
4751
Desktop
@@ -73,3 +77,5 @@ SpiderOak Hive
7377
# Private keys
7478
.local
7579
.git.user.config
80+
.ssh
81+

.zshrc

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
source $HOME/aliases
2+
source $HOME/colors
3+
source $HOME/extras
4+
source $HOME/prompt
5+
6+
source $HOME/zsh/colors.zsh
7+
source $HOME/zsh/extras.zsh
8+
source $HOME/zsh/prompt.zsh
9+
10+
# Lines configured by zsh-newuser-install
11+
HISTFILE=~/.histfile
12+
HISTSIZE=10000
13+
SAVEHIST=10000
14+
setopt appendhistory autocd extendedglob nomatch notify
15+
unsetopt beep
16+
bindkey -e
17+
# End of lines configured by zsh-newuser-install
18+
# The following lines were added by compinstall
19+
zstyle :compinstall filename '$HOME/.zshrc'
20+
21+
autoload -Uz compinit
22+
compinit
23+
# End of lines added by compinstall

aliases

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ alias glo="git log --decorate --oneline --graph"
1616
alias glg="git log --decorate --graph --abbrev-commit --date=relative"
1717
alias gmg='git merge --no-ff'
1818
alias gph="git push"
19-
alias gpr="git pull"
19+
alias gpr="git pull --verbose"
2020
alias gpom="git push origin master"
2121
alias grao="git remote add origin"
2222
alias grau="git remote add upstream"

prompt

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ PROMPT_STATUS_ERROR_BACKGROUND='red'
2020

2121
# PROMPT_GIT_ICON="⋋ "
2222
PROMPT_GIT_ICON=""
23-
PROMPT_OUTGOING_CHANGES_ICON="\U21E1" # ↥ ⊷ ↗ \U234F
24-
PROMPT_INCOMING_CHANGES_ICON="\U21E3" # ↧ ⊶ ↙ \U2356
23+
PROMPT_OUTGOING_CHANGES_ICON="" # ↥ ⊷ ↗
24+
PROMPT_INCOMING_CHANGES_ICON="" # ↧ ⊶ ↙
2525
PROMPT_TAG_ICON="\UF092 "
2626
PROMPT_COMMIT_ICON="\UF03C "
2727
PROMPT_BOOKMARK_ICON="\U1F516 "

zshrc

+8-25
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
source $XDG_CONFIG_HOME/local
2-
source $XDG_CONFIG_HOME/env
3-
4-
source $XDG_CONFIG_HOME/aliases
5-
source $XDG_CONFIG_HOME/colors
6-
source $XDG_CONFIG_HOME/extras
7-
source $XDG_CONFIG_HOME/prompt
8-
9-
source $XDG_CONFIG_HOME/zsh/colors.zsh
10-
source $XDG_CONFIG_HOME/zsh/extras.zsh
11-
source $XDG_CONFIG_HOME/zsh/prompt.zsh
12-
13-
HISTFILE=~/.histfile
14-
HISTSIZE=100
15-
SAVEHIST=100000
16-
setopt appendhistory autocd extendedglob
17-
unsetopt beep
18-
bindkey -v
19-
20-
# zsh autocomplete
21-
zstyle :compinstall filename '~/.zshrc'
22-
zstyle ':completion:*' rehash true
23-
24-
autoload -Uz compinit
25-
compinit
1+
source $HOME/aliases
2+
source $HOME/colors
3+
source $HOME/extras
4+
source $HOME/prompt
5+
6+
source $HOME/zsh/colors.zsh
7+
source $HOME/zsh/extras.zsh
8+
source $HOME/zsh/prompt.zsh

0 commit comments

Comments
 (0)