fix ps1
This commit is contained in:
parent
b4c9955def
commit
2ca1d09e88
3 changed files with 4 additions and 4 deletions
|
|
@ -30,8 +30,7 @@
|
|||
# Optional: Also load git command completions for bash.
|
||||
. ~/.nix-profile/share/git/contrib/completion/git-completion.bash
|
||||
|
||||
|
||||
export PS1="\[$(tput setaf 39)\]\u\[$(tput setaf 81)\]@\[$(tput setaf 77)\]\h#\[$(tput setaf 226)\]\w $(__git_ps1 " (%s)") \[$(tput sgr0)\]$?\\$ "
|
||||
export PS1='\[$(tput setaf 39)\]\u\[$(tput setaf 81)\]@\[$(tput setaf 77)\]\h#\[$(tput setaf 226)\]\w\[$(tput setaf 1)\]$(__git_ps1) \[$(tput sgr0)\]$?\\$ '
|
||||
|
||||
bind '"\e[A": history-search-backward'
|
||||
bind '"\e[B": history-search-forward'
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
options = "--delete-older-than 10d";
|
||||
};
|
||||
extraOptions = /* toml */ ''
|
||||
bash-prompt = "\[nix-develop\]$ ";
|
||||
bash-prompt = "nix-develop: ";
|
||||
experimental-features = nix-command flakes
|
||||
auto-optimise-store = true
|
||||
min-free = ${toString (100 * 1024 * 1024)}
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
keep-derivations = true
|
||||
'';
|
||||
settings = {
|
||||
trusted-users = [ "root" "kron" ];
|
||||
trusted-users = [ "kron" ];
|
||||
auto-optimise-store = true;
|
||||
substituters = [
|
||||
"http://192.168.88.15:8501"
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ in
|
|||
|
||||
PYTHONPYCACHEPREFIX = "/tmp/cpython";
|
||||
|
||||
DO_NOT_TRACK = 1;
|
||||
SCARF_ANALYTICS = "false";
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
|
||||
ANONYMIZED_TELEMETRY = "False";
|
||||
|
|
|
|||
Loading…
Reference in a new issue