support tabby auto detect work dir
This commit is contained in:
parent
5e7db775ed
commit
23ca3dda4e
@ -1,3 +1,12 @@
|
||||
#!/bin/bash
|
||||
# File : .bashrc_common
|
||||
# License : MIT
|
||||
# Author : Feng Bohan <1953356163@qq.com>
|
||||
# Date : 2025-04-25 17:20:07
|
||||
# Last Modified Date: 2025-04-25 17:21:35
|
||||
# Last Modified By : Feng Bohan <1953356163@qq.com>
|
||||
# -----
|
||||
# Copyright © 2025 Feng Bohan. All Rights Reserved.
|
||||
alias e='gvim ~/.bashrc'
|
||||
alias s='source ~/.bashrc'
|
||||
alias eg='gvim ~/.vimrc'
|
||||
@ -24,3 +33,5 @@ w5(){
|
||||
}
|
||||
|
||||
export PS1="[\[\e[01;32m\]\u@\h\[\e[00m\]-\t \$(free_mem)]:\[\e[01;34m\]\$(w5)\[\e[00m\]\$ "
|
||||
# set for tabby auto detect work dir
|
||||
export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user