gitea repo
This commit is contained in:
commit
f610209aff
66 changed files with 2439 additions and 0 deletions
23
dotfiles/bash_files/desk/methods
Normal file
23
dotfiles/bash_files/desk/methods
Normal file
|
@ -0,0 +1,23 @@
|
|||
mp(){
|
||||
nohup mousepad $1 </dev/null >/dev/null 2>&1 &
|
||||
disown
|
||||
}
|
||||
|
||||
cs(){
|
||||
# cp -l fullpath fullpath/Documents/cheatsheet
|
||||
# path=~/Documents/cheatsheet
|
||||
path=/solid/dir/reference/cheatsheet/
|
||||
if [[ -z "$1" ]]; then
|
||||
ls $path
|
||||
else
|
||||
if [[ $2 = "-e" ]]; then
|
||||
vim $path/$1
|
||||
else
|
||||
bat -pp $path/$1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
timer(){
|
||||
while true; do printf '%s\r' "$(date)"; done
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue