updates
This commit is contained in:
parent
e77e963a98
commit
6fd9a92306
5
bashrc
5
bashrc
@ -29,7 +29,7 @@ cdl(){ cd $(cat ~/.cache/whereami);};cdl
|
|||||||
|
|
||||||
####### ALIASES ##########
|
####### ALIASES ##########
|
||||||
# add features
|
# add features
|
||||||
alias nano='nano -l'
|
#alias nano='nano -l'
|
||||||
alias hdd='cd /mnt/hdd'
|
alias hdd='cd /mnt/hdd'
|
||||||
alias drag=ripdrag
|
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;}
|
catmd() { pandoc $1 | lynx -stdin;}
|
||||||
# replace white spaces in file name with underscores
|
# replace white spaces in file name with underscores
|
||||||
rmspace() { for file in *; do mv -- "$file" "${file// /_}"; done;}
|
rmspace() { for file in *; do mv -- "$file" "${file// /_}"; done;}
|
||||||
|
yq() {
|
||||||
|
podman run --rm -i -v "${PWD}":/workdir mikefarah/yq "$@"
|
||||||
|
}
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
### Enter container
|
### Enter container
|
||||||
|
@ -1 +1,20 @@
|
|||||||
include /usr/share/nano-syntax-highlighting/*
|
include /usr/share/nano-syntax-highlighting/*
|
||||||
|
set autoindent
|
||||||
|
set linenumbers
|
||||||
|
#set smooth
|
||||||
|
|
||||||
|
set backup
|
||||||
|
set backupdir "~/.cache/nano"
|
||||||
|
|
||||||
|
set titlecolor brightblue,black
|
||||||
|
set statuscolor brightgreen,blue
|
||||||
|
set selectedcolor brightwhite,magenta
|
||||||
|
set numbercolor yellow
|
||||||
|
set keycolor brightcyan
|
||||||
|
set functioncolor green
|
||||||
|
set nohelp
|
||||||
|
|
||||||
|
#bind ^[ ( main
|
||||||
|
#bind ^] ) main
|
||||||
|
#bind ^{ { main
|
||||||
|
#bind ^} } main
|
||||||
|
@ -16,6 +16,7 @@ podman run --rm \
|
|||||||
-v $HOME/Downloads:/root/Downloads \
|
-v $HOME/Downloads:/root/Downloads \
|
||||||
-v $HOME/Pictures:/root/Pictures \
|
-v $HOME/Pictures:/root/Pictures \
|
||||||
-v $HOME/Documents:/root/Documents \
|
-v $HOME/Documents:/root/Documents \
|
||||||
|
-v /etc/localtime:/etc/localtime \
|
||||||
-v /usr/share/icons:/usr/share/icons \
|
-v /usr/share/icons:/usr/share/icons \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
-v /tmp/xdg-open$SOCKET_ID.socket:/tmp/xdg-open.socket \
|
-v /tmp/xdg-open$SOCKET_ID.socket:/tmp/xdg-open.socket \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user