Bash and zsh has this ${VAR:-1} easy way to set a default value, when $VAR is
defined ${VAR:-1} will return the value of $VAR, and when $VAR is not defined,
${VAR:-1} will return the fallback default value -1, like:
$ echo ${VAR:-1}
-1
$ export VAR=15
$ echo ${VAR:-1}
15
This is very useful whe
Mandeep Sandhu writes:
>
> So this is basically looking for aliases created via git itself ('git config
> alias.gco checkout' etc).
>
> To fix your issue, you either need to define an alias with git, or modify the
> __fish_git_using_command function to check if the given command is a shell
> al
George Waksman writes:
> 2. autoloaded functions can call other autoloaded functions (double
> underscore is typically used to denote "private" functions):
>
> file:__helper_function.fish
> ---
> function __helper_function --description "helper function"
># do something
etion of the aliased command to the alias function, then solve this
problem once and for all. Is it possible yet?
Thanks, Leira Hua
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance wi
nction too, seems the only
way to do that, is to put this tool function into config.fish, which lost the
benefits of autoloading function. Is it possible to make this tool function an
autoloading function, and make other autoloading functions dep