configs  Check-in [c6e90e5459]

Overview
Comment:zshrc: Remove sprunge and add vi alias

sprunge seems to be no more.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c6e90e5459a24f559fef05b7944df4e2d6ed2531e4a177f4459a27610fb5889a
User & Date: js 2018-07-08 20:04:02
Context
2018-07-08
20:14
zshrc: Auto-detect whether to use gls / ggrep check-in: 4563b09c34 user: js tags: trunk
20:04
zshrc: Remove sprunge and add vi alias check-in: c6e90e5459 user: js tags: trunk
20:00
gpg.conf: Change keyserver check-in: 5f11a7aec3 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to zshrc.

175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
				echo "$i: Unknown file type"
				false
				;;
		esac
	done
}

sprunge() {
	curl -F "sprunge=<-" http://sprunge.us
}

for ext in $ARCHIVE_FORMATS; do alias -s $ext=extr; done

[ "$AUDIO_PLAYER" ] && \
	for ext in $AUDIO_PLAYER_FORMATS; do alias -s $ext=$AUDIO_PLAYER; done

[ "$VIDEO_PLAYER" ] && \







|
<
<







175
176
177
178
179
180
181
182


183
184
185
186
187
188
189
				echo "$i: Unknown file type"
				false
				;;
		esac
	done
}

[ "$EDITOR" = "vim" ] && alias vi="vim"



for ext in $ARCHIVE_FORMATS; do alias -s $ext=extr; done

[ "$AUDIO_PLAYER" ] && \
	for ext in $AUDIO_PLAYER_FORMATS; do alias -s $ext=$AUDIO_PLAYER; done

[ "$VIDEO_PLAYER" ] && \