From 9bb49d1352c970f666cbf44b0eec11817b2ccb4f Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 26 May 2021 23:30:46 +0430 Subject: fixed the w3m script problems. now using exa. some other small stuff --- .w3m/cgi-bin/restore_session.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.w3m/cgi-bin/restore_session.cgi') diff --git a/.w3m/cgi-bin/restore_session.cgi b/.w3m/cgi-bin/restore_session.cgi index aa0ba41..4e30311 100755 --- a/.w3m/cgi-bin/restore_session.cgi +++ b/.w3m/cgi-bin/restore_session.cgi @@ -32,7 +32,7 @@ echo "#!/usr/bin/env sh" > "$RESTORE_SESSSION" echo "torsocks w3m -graph \\" >> "$RESTORE_SESSSION" # remove dupes without sorting, add -N flag at beginning and append trailing slash to each url awk '!x[$0]++' "$HOME/.w3m/RestoreSession.txt" | while read -r line ; do echo "-N '$line' \\" >> "$RESTORE_SESSSION" ; done -echo "2>/dev/null" >> "$RESTORE_SESSSION" +# echo "2>/dev/null" >> "$RESTORE_SESSSION" chmod +x "$RESTORE_SESSSION" ## OUTPUT SCRIPT FILE EXAMPLE ~/.w3m/bin/w3mlastsession -- cgit v1.2.3