mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Move some customisations out of zshrc into custom
This commit is contained in:
parent
c620408962
commit
043d8ae0d7
4 changed files with 11 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,5 +1,4 @@
|
||||||
locals.zsh
|
locals.zsh
|
||||||
log/.zsh_history
|
log/.zsh_history
|
||||||
projects.zsh
|
projects.zsh
|
||||||
custom/*.zsh
|
!custom/example.zsh
|
||||||
!custom/example.zsh
|
|
||||||
|
|
|
||||||
8
custom/aliases.zsh
Normal file
8
custom/aliases.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#RSpec
|
||||||
|
alias spec="spec -c"
|
||||||
|
|
||||||
|
# Git
|
||||||
|
alias gs='git status'
|
||||||
|
alias ga='git add'
|
||||||
|
alias gco='git checkout'
|
||||||
|
alias gd="git diff"
|
||||||
1
custom/history.zsh
Normal file
1
custom/history.zsh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
HISTFILE=~/.zhistory
|
||||||
1
custom/less.zsh
Normal file
1
custom/less.zsh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export LESS="--quit-if-one-screen --RAW-CONTROL-CHARS"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue