Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login script regular match how is wrong, can you give an example #9632

Open
zxuanhong opened this issue May 11, 2024 · 0 comments
Open

Login script regular match how is wrong, can you give an example #9632

zxuanhong opened this issue May 11, 2024 · 0 comments
Labels

Comments

@zxuanhong
Copy link

zxuanhong commented May 11, 2024

  1. Login script regular match how is wrong, can you give an example
  2. For example,Login matches the end of the string:
]#
]$
:~#
:~$
  1. Script to be executed after the match is successful
export PS1="$PS1\\[\\e]1337;CurrentDir="'$(pwd)\\a\\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant