File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 20
20
git
21
21
chromium
22
22
bash-completion
23
- ncurses # Provides the 'tput' command
23
+ ncurses # Provides 'tput' for colors
24
24
] ;
25
25
26
26
shellHook = ''
27
27
# Point Puppeteer to the Nix-provided Chromium
28
28
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
29
29
export PUPPETEER_EXECUTABLE_PATH="${ pkgs . chromium } /bin/chromium"
30
30
31
+ # Enable history and other interactive features
32
+ set -o vi # or set -o emacs for emacs keybindings
33
+ HISTFILE=~/.bash_history_nix_dev
34
+ history -c
35
+ history -r
36
+
31
37
# Set a nice, readable prompt using tput for portability
32
- # This is the robust way to set colors.
33
38
if command -v tput >/dev/null && tput setaf 1 >/dev/null; then
34
39
green=$(tput setaf 2)
35
40
blue=$(tput setaf 4)
You can’t perform that action at this time.
0 commit comments