aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/funced.fish
Commit message (Collapse)AuthorAge
* Funced: Make removal safer, take twoGravatar Fabian Homborg2016-05-28
| | | | | Now we try to remove the file and then the directory, without forcing anything, showing any (quite unexpected) error to the user, once.
* Funced: Limit damage when removing tmpfileGravatar Fabian Homborg2016-05-24
| | | | | | This will now only forcibly remove _files_, not directories. $tmpdir _should_ be something only we use in /tmp, but mktemp might screw up.
* Fix funced's tmpfile generation on OSXGravatar Fabian Homborg2016-05-23
| | | | OSX mktemp... isn't great, so work around that fact.
* Use $VISUAL before $EDITOR in funcedGravatar Fabian Homborg2015-09-02
| | | | Closes #2268
* Add .fish suffix to funced's tempfile nameGravatar Fabian Homborg2015-07-19
| | | | This allows editors (like emacs) to pick up on the fact that it's a fish script.
* Allow funced to retry on errorGravatar ridiculousfish2014-10-17
| | | | Fixes #1371
* Adopt the new type -q flag in the other functionsGravatar Kevin Ballard2014-07-13
|
* use mktemp(1) to generate temporary file namesGravatar David Adam2014-04-28
| | | | | | | | | | | | | Fix for CVE-2014-2906. Closes a race condition in funced which would allow execution of arbitrary code; closes a race condition in psub which would allow alternation of the data stream. Note that `psub -f` does not work (#1040); a fix should be committed separately for ease of maintenance. Closes #1437
* Make funced properly handle an invalid number of argumentsGravatar ridiculousfish2013-06-08
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/780
* Fix funced to stop outputing an error if no EDITOR is setGravatar ridiculousfish2013-01-27
|
* Break up $EDITOR before passing it to type to allow it to contain flagsGravatar ridiculousfish2013-01-23
| | | | More work on https://github.com/fish-shell/fish-shell/issues/541
* Allow $EDITOR to be an array. Fixes ↵Gravatar ridiculousfish2013-01-23
| | | | https://github.com/fish-shell/fish-shell/issues/541
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Minor refactoring and fixed a bug in history functionGravatar Siteshwar Vashisht2012-07-24
|
* Fixed case behaviourGravatar maxfl2012-07-05
| | | | | | | | | | | | | | | | | | | | | * case no properly handles -h and --help flags, i.e. treats it as pattern * fixed case escaping: The following expressions now work correctly: switch '*' echo '*' echo Match any string end switch '*' echo '\*' echo Match asterix end switch '\\' echo '\\\\' echo Match slash end The same for '?' sign
* Doc is updatedGravatar maxfl2012-07-01
| | | | btw. funced completion is updated
* 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
* Change funced script to default to using $EDITOR if set, and to allow -e to ↵Gravatar ridiculousfish2012-06-29
| | | | specify a particular editor (with fish meaning the builtin editor)
* Support editing functions starting with dotGravatar maxfl2012-06-29
|
* Add emacs to 'funced -e'Gravatar maxfl2012-06-29
| | | | The order is also changed.
* Add -e option to funcedGravatar maxfl2012-06-29
| | | | | New option -e or --editor allows to edit function inside external editor, rather than in reader.
* remove trialing spaces #2Gravatar Grissiom2010-09-18
|
* Add boilerplate definition when using funced on undefined functionGravatar liljencrantz2007-09-22
| | | | darcs-hash:20070921142954-75c98-752f389dfe4022ea3e72092bb717a60314408d41.gz
* Add funced function, which works like vared, but with functionsGravatar axel2007-04-23
darcs-hash:20070422185539-ac50b-9080fb745cec45609e7e29971b55b96e073806e6.gz