mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-12 12:46:37 +02:00
Move .zshrc includes to .zsh/
This commit is contained in:
parent
61e54c6309
commit
678ccab589
@ -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 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 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)
|
# Make ls a lot easier to read (print directories first, just like ranger)
|
||||||
alias ls="ls -hN --color=auto --group-directories-first"
|
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 emacs="vim" # No need to start another operating system
|
||||||
alias nano="vim" # Why nano when you have vim?
|
alias nano="vim" # Why nano when you have vim?
|
||||||
alias vi="vim" # Vim is vi improved, literally
|
alias vi="vim" # Vim is vi improved, literally
|
||||||
|
|
@ -89,7 +89,7 @@ function ss() {
|
|||||||
function readme() {
|
function readme() {
|
||||||
local readme=`ls | grep README`
|
local readme=`ls | grep README`
|
||||||
if [[ $readme ]]; then
|
if [[ $readme ]]; then
|
||||||
lvim $readme
|
nvim $readme
|
||||||
else
|
else
|
||||||
echo "No README found."
|
echo "No README found."
|
||||||
fi
|
fi
|
@ -58,8 +58,8 @@ zstyle ':completion:*:default' menu 'select=0'
|
|||||||
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=36=31"
|
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=36=31"
|
||||||
|
|
||||||
# Source our aliases first, then our functions (some functions rely on aliases)
|
# Source our aliases first, then our functions (some functions rely on aliases)
|
||||||
source ~/.zsh_aliases
|
source ~/.zsh/aliases.zsh
|
||||||
source ~/.zsh_functions
|
source ~/.zsh/functions.zsh
|
||||||
|
|
||||||
# Source our dircolors
|
# Source our dircolors
|
||||||
eval "$(dircolors ~/.dircolors)"
|
eval "$(dircolors ~/.dircolors)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user