Skip to content

reduce alias usage in anaconda-aliases.bash [feature request] #79

Description

@tomasohara

The important aliases in anaconda-aliases.bash should be converted to functions, so that they get treated as first class objects by bash. This should at least include aliases with variables, as follows:

$ grep -c '^alias ' anaconda-aliases.bash
11

$ grep '^alias.*=.*\$' anaconda-aliases.bash
alias init-conda3='init-condaN "$anaconda3_dir"'
alias init-conda2='init-condaN "$anaconda2_dir"'
alias all-conda-to-pythonpath='export PYTHONPATH=$anaconda3_dir/envs/env_tensorflow_gpu/lib/python3.7/site-packages:$anaconda3_dir/lib/python3.7:$PYTHONPATH'
alias conda-env-name='conda env list | $perl extract_matches.perl "^(\S+ )  " | echoize'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions