aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/funcsave.fish
Commit message (Collapse)AuthorAge
* Fix funcsave to not delete the function it just createdGravatar ridiculousfish2015-04-06
| | | | | | | | | | In 73f344f41bd2, we allowed autoloaded functions to be deleted. For some reason, funcsave immediately deletes the function it creates. This previously did very little, since the function would immediately be re-autoloaded, but with the fix for 73f344f41bd2 the function gets tombstoned. So the effect is that funcsave makes the function disappear! This simply removes the erase call, which dates back to fish 1.x.
* Update funcedGravatar maxfl2012-07-01
| | | | | | | | | | | | | * Editor mode is no the default * Use -i or --interactive or -e fish to edit function in interactive mode * tmpname is now created with random number added and check that file do not already exist * check $TMPDIR existence and put /tmp if it does not exist * There is an undocumented feature to use functions, started with dash. Introduce necessary changes to funced, functions, def_function() in order to make it work properly. * Delete editor guessing. Use $EDITOR variable or -e key
* funcsave: Fixed error and help handling.Gravatar Dylan Smith2010-12-02
| | | | | | Renamed references to the previous command name of save_function to funcsave, and returned an error after printing the help text when no arguments are specified.
* Rename save_function to funcsave to keep consistency between ↵Gravatar axel2007-04-17
function/variable functions darcs-hash:20070416214453-ac50b-9ec9559fc468256dc149e92e9fece37da940ad7e.gz