mirror of
https://github.com/scopatz/nanorc
synced 2024-11-30 13:45:53 +01:00
Merge pull request #122 from divinity76/patch-2
clean up the files left in /tmp
This commit is contained in:
commit
e0f5609ea7
|
@ -9,6 +9,7 @@ cd ~/.nano/
|
||||||
unzip -o "/tmp/nanorc.zip"
|
unzip -o "/tmp/nanorc.zip"
|
||||||
mv nanorc-master/* ./
|
mv nanorc-master/* ./
|
||||||
rm -rf nanorc-master
|
rm -rf nanorc-master
|
||||||
|
rm /tmp/nanorc.zip
|
||||||
|
|
||||||
if [ ! -f ~/.nanorc ]
|
if [ ! -f ~/.nanorc ]
|
||||||
then
|
then
|
||||||
|
@ -18,3 +19,4 @@ fi
|
||||||
cat ~/.nano/nanorc >> ~/.nanorc
|
cat ~/.nano/nanorc >> ~/.nanorc
|
||||||
sort -u ~/.nanorc > /tmp/nanorc2
|
sort -u ~/.nanorc > /tmp/nanorc2
|
||||||
cat /tmp/nanorc2 > ~/.nanorc
|
cat /tmp/nanorc2 > ~/.nanorc
|
||||||
|
rm /tmp/nanorc2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user