-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.zsh
38 lines (28 loc) · 966 Bytes
/
aliases.zsh
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
alias myip="curl http://ipecho.net/plain; echo"
alias aliases="vim ~/src/git/dotfiles/aliases.zsh"
alias c=clear
alias top=htop
alias ubuntu="docker run -it --rm ubuntu"
alias shellcheck='function _sc(){ shellcheck -o all $1; }; _sc'
alias sc='function _sc(){ shellcheck -o all $1; }; _sc'
alias snippets='cd $SNIPPETS'
alias scripts='cd $SCRIPTS'
alias vip='vim -p'
alias sz='source ~/.zshrc'
alias ez='vim ~/.zshrc'
alias tx='tmux attach || tmux new -s mysesh'
alias tree='tree | less'
# ------------------------------ bash ls aliases -----------------------------
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# basic ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# -------------------------------- vim stuff ---------------------------------
alias vim=nvim
alias ev='vim ~/.config/nvim/init.vim'