Move .zshrc includes to .zsh/

This commit is contained in:
Donovan Glover 2017-12-27 22:53:07 -05:00
parent 61e54c6309
commit 678ccab589
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D
3 changed files with 9 additions and 5 deletions

View File

@ -29,7 +29,12 @@ alias rm="rm -i" # Always confirm before deleting things (use -f to overr
alias mkdir="mkdir -p" # Automatically make parent directories that don't exist yet
alias p="pwd | sed -e 's!$HOME!~!g'" # Same as pwd, but uses ~ instead of $HOME
alias c="clear" # Easily start fresh with a clean terminal
# Easily start fresh with a clean terminal
# Note that "clear force" (cf) clears the terminal for real and doesn't have
# any side effects when resizing windows or scrolling up
alias c="clear"
alias cf="tput reset"
# Make ls a lot easier to read (print directories first, just like ranger)
alias ls="ls -hN --color=auto --group-directories-first"
@ -109,4 +114,3 @@ alias lfox="launch waterfox" # Launch waterfox separate from the terminal
alias emacs="vim" # No need to start another operating system
alias nano="vim" # Why nano when you have vim?
alias vi="vim" # Vim is vi improved, literally

View File

@ -89,7 +89,7 @@ function ss() {
function readme() {
local readme=`ls | grep README`
if [[ $readme ]]; then
lvim $readme
nvim $readme
else
echo "No README found."
fi

View File

@ -58,8 +58,8 @@ zstyle ':completion:*:default' menu 'select=0'
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=36=31"
# Source our aliases first, then our functions (some functions rely on aliases)
source ~/.zsh_aliases
source ~/.zsh_functions
source ~/.zsh/aliases.zsh
source ~/.zsh/functions.zsh
# Source our dircolors
eval "$(dircolors ~/.dircolors)"