mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -94,6 +94,12 @@
|
|||||||
PROMPT_COMMAND = "history -a;"; # ensure synchronization between bash memory and history file
|
PROMPT_COMMAND = "history -a;"; # ensure synchronization between bash memory and history file
|
||||||
SSH_AUTH_SOCK = "/home/sstent/.ssh/wsl-ssh-agent.sock";
|
SSH_AUTH_SOCK = "/home/sstent/.ssh/wsl-ssh-agent.sock";
|
||||||
};
|
};
|
||||||
|
initExtra =
|
||||||
|
''
|
||||||
|
source ~/.nix-profile/share/git/contrib/completion/git-prompt.sh
|
||||||
|
# export PS1='\w $(__git_ps1 "(%s) ")$ '
|
||||||
|
export PS1='\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] $(__git_ps1 "(%s) ")'
|
||||||
|
'';
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
if [ -e /home/sstent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/sstent/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
if [ -e /home/sstent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/sstent/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||||
# ssh-add -l
|
# ssh-add -l
|
||||||
|
|||||||
Reference in New Issue
Block a user