-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
91 lines (74 loc) · 2.13 KB
/
bashrc
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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Replace ls with exa
alias ls='ls --color=auto'
#Bash aliases
alias mkfile='touch'
alias thor='sudo thunar'
alias jctl='journalctl -p 3 -xb'
alias ssaver='xscreensaver-demo'
alias reload='cd ~ && source ~/.bashrc'
alias pingme='ping -c64 github.com'
alias cls='clear && neofetch | lolcat'
alias traceme='traceroute github.com'
#youtube-dl
alias ytv-best='yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio" --merge-output-format mp4 '
alias yt='ytfzf -tf'
alias mp3='youtube-dl -f 140'
alias wdl='/home/cristian/Gits/waldl/waldl'
#shutdown or reboot
alias suspend='systemctl suspend'
alias off='sudo shutdown -h now'
alias reboot="sudo reboot"
alias exit='i3-msg exit'
#Pacman for software managment
alias search='sudo pacman -Qs'
alias install='sudo pacman -S'
alias linstall='sudo pacman -U'
alias remove='sudo pacman -R'
alias update='sudo pacman -Syyu'
alias up='paru && sudo pacman -Sy'
alias clean='sudo pacman -Rns $(pacman -Qtdq)'
alias clr='sudo pacman -Scc'
#paru as aur helper - updates everything
alias pget='paru -S '
alias prm='paru -Rs '
alias psr='paru -Ss '
alias upall='paru -Syyu --noconfirm'
##Cmatrix thing
alias matrix='cmatrix -s -C cyan'
#systeminfo
alias probe="sudo -E hw-probe -all -upload"
#available free memory
alias free="free -mt"
#hardware info --short
alias hw="hwinfo --short"
#GiT command
alias gc='git clone '
#Copy/Remove files/dirs
alias rmd='rm -r'
alias srm='sudo rm'
alias srmd='sudo rm -r'
alias cpd='cp -R'
alias scp='sudo cp'
alias scpd='sudo cp -R'
#cd/ aliases
alias home='cd ~'
alias etc='cd /etc/'
alias music='cd ~/Music'
alias vids='cd ~/Videos'
alias conf='cd ~/.config'
alias desk='cd ~/Desktop'
alias pics='cd ~/Pictures'
alias dldz='cd ~/Downloads'
alias docs='cd ~/Documents'
alias dgit='cd ~/Gits'
alias sapps='cd /usr/share/applications'
pfetch
#neofetch
# BEGIN_KITTY_SHELL_INTEGRATION
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
# END_KITTY_SHELL_INTEGRATION