Repository navigation
Expand file tree
/
Copy pathbashrc
More file actions
executable file
·121 lines (96 loc) · 2.63 KB
/
Copy pathbashrc
File metadata and controls
executable file
·121 lines (96 loc) · 2.63 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# ~/.bashrc
# Made by Sam Rohrbach
# Licensed under the GPL v3 license
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='\u@\h \W \$ ' # prompt
### normal linux ###
# C-u to clear input to left
# C-k to clear input to right
# C-l to clear screen
# C-d to exit
bind -x '"\e[1;3D": "cd $OLDPWD"' # M-left goes back to previous directory
# doom emacs
export PATH="$HOME/.config/emacs/bin:$PATH"
alias doom='~/.config/emacs/bin/doom'
alias vim='emacsclient' #i believe in emacs superiority
# i <3 nerd fonts :)
alias l='lsd -A --color=auto'
alias ls='lsd -A --color=auto'
alias sl='lsd -A --color=auto'
alias ssl='lsd -A --color=auto'
alias sls='lsd -A --color=auto'
alias dir='lsd -A --color=auto'
alias rmr='rm -r' # do not misuse, especially with /
alias rmrf='rm -rf' # do not misuse, especially with /
alias cpr='cp -r'
alias cprf='cp -rf'
alias lns='ln -s'
alias lnsf='ln -sf'
alias touchdir='mkdir' # touch, but not with files
alias md='mkdir' # less chars == better
alias grep='grep --color=auto'
alias gerp='grep --color=auto'
alias please='sudo' # canada moment
# me not being good at typing
alias sud='sudo'
alias sudi='sudo'
alias sido='sudo'
alias suod='sudo'
alias sduo='sudo'
alias soud='sudo'
alias sudp='sudo'
alias sudio='sudo'
alias suido='sudo'
# for when C-l is just too much
alias cls='clear'
alias csl='clear'
alias celar='clear'
alias mount='sudo mount' # bruh why do i keep forgetting the sudo
alias umount='sudo umount' # not a word
alias unmount='sudo umount' # is a word
alias cd..='cd ..'
alias ..='cd ..'
alias kys='shutdown now' # i know
alias die='shutdown now' # see previous line
alias rtfm='man' # read it
alias EXIT='exit' # cAPSLOCK MOMENT
alias exiy='exit'
alias exir='exit'
alias exirt='exit'
alias учше='exit'
alias εχιτ='exit'
alias ثءهف='exit'
alias קסןא='exit'
alias ='exit'
# vim
alias :q='exit'
alias :Q='exit'
# i am speed
alias clone='gh repo clone'
alias commit='git add *; git commit'
alias push='git push'
alias pull='git pull'
### arch-specififc ###
alias showoff='clear;echo;neofetch' # oh yeah i use arch
# we have apt at home
alias autoremove='yay -R $(yay -Qdtq); flatpak remove --unused; yay -Scc' # apt at home
alias btw='figlet I use Arch BTW'
# go quick, do typos
alias udpate='update'
alias updtae='update'
alias updaet='update'
### misc ###
alias yt='ytfzf'
alias youtube='ytfzf'
alias lock='swaylock'
alias lokc='swaylock'
alias py='python'
alias unixkcd='xkcd'
alias clac='calc'
alias uwu='clear;uwufetch'
alias matrix='cmatrix -C red'
alias imgcat='kitty +kitten icat'
# other things
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"