Format with shfmt
This commit is contained in:
parent
57439a61bc
commit
c18dee7068
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "start signal"
|
||||
nohup signal-desktop --use-tray-icon --no-sandbox > ~/.local/share/nohup.out &
|
||||
nohup signal-desktop --use-tray-icon --no-sandbox >~/.local/share/nohup.out &
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done
|
||||
for i in $(ls | grep [A-Z]); do mv -i $i $(echo $i | tr 'A-Z' 'a-z'); done
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
find . -print | while read file
|
||||
do
|
||||
file_clean=${file//[ ()&\'\,]/_}
|
||||
mv "$file" "$file_clean"
|
||||
find . -print | while read file; do
|
||||
file_clean=${file//[ ()&\'\,]/_}
|
||||
mv "$file" "$file_clean"
|
||||
done
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
function replace-listings(){
|
||||
function replace-listings() {
|
||||
sed -i -e 's/end{lstlisting}/end{sexylisting}/g' $1
|
||||
for fn in `grep 'begin{lstlisting}' $1`; do
|
||||
for fn in $(grep 'begin{lstlisting}' $1); do
|
||||
caption=$(grep -m 1 -B 1 -P 'begin{lstlisting}' $1 |
|
||||
grep -oP 'caption={\K[^\}]+')
|
||||
grep -oP 'caption={\K[^\}]+')
|
||||
sed -i "0,/begin{lstlisting}/ s/{lstlisting}/{sexylisting}{$caption}/" $1
|
||||
done
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
scripts=$(ls -1 ~/.config/qtile/autostart.d/*.sh)
|
||||
for i in $scripts
|
||||
do
|
||||
for i in $scripts; do
|
||||
source $i
|
||||
done
|
||||
echo "Finished qtile autostart"
|
||||
|
|
Loading…
Reference in New Issue