forked from pub-solar/os
Merge pull request 'Change terminal title to cwd' (#69) from feature/terminal-title-cwd into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/69 Reviewed-by: teutat3s <teutates@mailbox.org> Reviewed-by: hensoko <hensoko@noreply.example.org>
This commit is contained in:
commit
003140fc54
|
@ -22,7 +22,6 @@ in
|
||||||
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nano = "nvim";
|
nano = "nvim";
|
||||||
vi = "nvim";
|
vi = "nvim";
|
||||||
|
@ -84,6 +83,10 @@ in
|
||||||
stty -ixon
|
stty -ixon
|
||||||
stty erase '^?'
|
stty erase '^?'
|
||||||
|
|
||||||
|
precmd () {
|
||||||
|
echo -e "\e]2;$(pwd)\e\\"
|
||||||
|
}
|
||||||
|
|
||||||
# If a command is not found, show me where it is
|
# If a command is not found, show me where it is
|
||||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue