-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zsh_aliases
55 lines (40 loc) · 1.13 KB
/
.zsh_aliases
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
# lunar vim instead of vim
alias vi='lvim'
alias vim='lvim'
# cool reload screen
alias reload='source ~/.zshrc && echo -e "\033[36m
~~~~~~~~~~~~~~~~~~~~~
~~ reloaded .zshrc ~~
~~~~~~~~~~~~~~~~~~~~~\033[0m"'
# exa = cooler ls
# saving the original ls
alias old_ls='/bin/ls'
alias ols='old_ls'
alias ls_w_snap='exa --icons --group-directories-first'
alias ls='exa --icons --group-directories-first -I snap'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# some more ls aliases (exa)
alias l='ls -1'
alias ll='ls -l --no-permissions --no-user'
alias la='ls_w_snap -la'
alias lart='la -snew'
alias lrt='lart'
# trashing instead of removing
alias realrm='/bin/rm'
alias rm='trash'
# config profile
alias profconf='code $DOTFILES/.zshrc'
alias profvim='vim $DOTFILES/.zshrc'
# config aliases
alias aliasconf='code /.zsh_aliases'
alias aliasvim='vim $DOTFILES/.zsh_aliases'
# starship config
alias starconf="code $DOTFILES/starship.toml"
alias starvim="vim $DOTFILES/starship.toml"
# for bat instead of cat
alias cat="batcat"
alias c='clear'
# alias sizelst="du -sh * .* | sort -h"