This commit is contained in:
2023-11-12 22:10:38 +05:00
parent e77e963a98
commit 6fd9a92306
3 changed files with 24 additions and 1 deletions

5
bashrc
View File

@@ -29,7 +29,7 @@ cdl(){ cd $(cat ~/.cache/whereami);};cdl
####### ALIASES ##########
# add features
alias nano='nano -l'
#alias nano='nano -l'
alias hdd='cd /mnt/hdd'
alias drag=ripdrag
@@ -60,6 +60,9 @@ edit(){ nano $(grep $1 * -R | awk '{print $1}'|cut -f1 -d ':' | head -n1);}
catmd() { pandoc $1 | lynx -stdin;}
# replace white spaces in file name with underscores
rmspace() { for file in *; do mv -- "$file" "${file// /_}"; done;}
yq() {
podman run --rm -i -v "${PWD}":/workdir mikefarah/yq "$@"
}
###############################################################################
### Enter container