Skip to main content
Mention tab-completion, minor grammar fix, tags
Source Link
Kusalananda
  • 356.2k
  • 42
  • 737
  • 1.1k

Avoiding support bash functions to show up in terminal sessions when tab-completing

I have a number of bashbash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session when a user does tab-completion.

My bashbash functions start with xepty-. Support functions also start with xepty-. Thus when users are in a terminal window, and they input xepty-TABTab, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.?

Avoiding support bash functions to show up in terminal sessions

I have a number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in terminal window, and they input xepty-TAB, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.

Avoiding support bash functions to show up in terminal sessions when tab-completing

I have a number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session when a user does tab-completion.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in a terminal window, and they input xepty-Tab, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session?

added 4 characters in body
Source Link
Vera
  • 1.4k
  • 2
  • 15
  • 33

I amhave a number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in terminal window, and they input xepty-TAB, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.

I am number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in terminal window, and they input xepty-TAB, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.

I have a number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in terminal window, and they input xepty-TAB, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.

Source Link
Vera
  • 1.4k
  • 2
  • 15
  • 33

Avoiding support bash functions to show up in terminal sessions

I am number of bash functions which I source from my .bashrc. I also have a bunch of support function that are needed but do not want them to show up in a terminal session.

My bash functions start with xepty-. Support functions also start with xepty-. Thus when users are in terminal window, and they input xepty-TAB, they get a large number of matches. Is it possible to make the support functions unavailable for use in the terminal session.