| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Andromeda, by Perseus sav'd and wed,
> Hanker'd each day to see the Gorgon's head:
> Till o'er a fount he held it, bade her lean,
> And mirror'd in the wave was safely seen
> That death she liv'd by.
> Let not thine eyes know
> Any forbidden thing itself, although
> It once should save as well as kill: but be
> Its shadow upon life enough for thee.
>
> --Dante Gabriel Rossetti
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This appeases ShellCheck 0.4.7, which is fretting that I meant a command
expansion. I didn't, but it seems a bit nicer to quote these anyway.
In sh/profile.d/editor.sh line 4:
EDITOR=ed
^-- SC2209: Use var=$(command) to assign output (or quote to assign string).
In sh/profile.d/editor.sh line 22:
EDITOR=ex
^-- SC2209: Use var=$(command) to assign output (or quote to assign string).
In sh/profile.d/visual.sh line 2:
VISUAL=vi
^-- SC2209: Use var=$(command) to assign output (or quote to assign string).
|
|
|
|
|
|
|
| |
This avoids an unwanted situation on e.g. Debian minimal where the
default Vi implementation is a stripped-down Vim that doesn't use vim(1)
as a name, so stuff like sudoedit(8) breaks looking for it and falls
back on EDITOR.
|
|
|
|
|
|
| |
Set EDITOR and VISUAL appropriately based on what's on the system.
We can't assume ed(1) unfortunately, but ex(1) should be there.
|
|
|