Carry a alias over an ssh session #7300
Unanswered
OmerBenisty
asked this question in
Q&A
Replies: 3 comments 1 reply
-
The ssh kitten can copy over shell rc files as well, where aliases are
defined, see the docs
https://sw.kovidgoyal.net/kitty/kittens/ssh/#a-real-world-example
|
Beta Was this translation helpful? Give feedback.
1 reply
-
No bash doesnt have the facilities for doing it that way automatically.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
f kitty
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Im struggling to find away to carry aliases over ssh sessions, I see that when using
kitten ssh
its auto creating the aliasedit-in-kitty='kitten edit-in-kitty'
is there a way I can add an alias of my own using a similar manner?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions