summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-03-08 14:42:34 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-03-08 14:42:34 +0530
commit9a22ce2f7279b5187813e7b28e830ef6a8585049 (patch)
tree0640dcfce05350046ab64bbdbff57b743dbf8d42 /.config
parent6537eef95bb9067d0f20574a3f4f5f00f90cc4eb (diff)
avoid placing comments in such type of aliasrc
Diffstat (limited to '.config')
-rw-r--r--.config/shell/aliasrc17
1 files changed, 10 insertions, 7 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 45e77f9..05120da 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -2,7 +2,7 @@
#some aliases for launching applications
alias \
- b="brave"
+ b="brave" \
bb="brave --incognito" \
bbb="brave --tor" \
github="brave https://github.com/justsaumit" \
@@ -12,7 +12,7 @@ alias \
r="ranger" \
sr="sudo ranger" \
t="teams -no-sandbox" \
- w="whatsapp-nativefier" \
+ w="whatsapp-nativefier"
sp="spotify" \
jds="export _JAVA_AWT_WM_NONREPARENTING=1" \
jd="jdownloader" \
@@ -29,16 +29,17 @@ alias \
g3="git push origin HEAD --force" \
glg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n''%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"
-#useful command substitutions
+#useful command line substitutions
alias \
space="ncdu" \
- h='cat ~/.bash_history|fzf|xclip -sel c' \
+ h="cat ~/.bash_history|fzf|xclip -sel c" \
sha="shasum -a 256" \
untar="tar -zxvf" \
untar2="tar xvf" \
cp="cp -iv" \
mv="mv -iv" \
- mkd="mkdir -pv" \ #make a parent and sub directory
+ mkd="mkdir -pv" #make a parent and sub directory
+ alias \
myip="curl ipinfo.io/ip && echo """ \
neofetch="neofetch --ascii .config/neofetch/arch-ascii.txt" \
scr="ffmpeg -f x11grab -i :0.0 out.mp4" \
@@ -49,11 +50,13 @@ alias \
ssha="echo 'ssh-keygen -t ed25519 -a 100 -f ~/.ssh/<Identityfile> -C <comment>'" \
br="brightnessctl set " \
rs="redshift -P -O" \
- prime="prime-run " \ #enable hardware acceleration
+ prime="prime-run " #enable hardware acceleration
+ alias \
st="cd .local/src/st" \
dwm="cd .local/src/dwm" \
+ dwmblocks="cd .local/src/dwmblocks" \
rm="trash" \
listdel="trash-list" \
restore="trash-restore" \
empty="trash-empty" \
- q="exit"
+ q="exit"