Creating dotfiles for terminals
dot files for terminals a
This commit is contained in:
12
nushell/env.nu
Normal file
12
nushell/env.nu
Normal file
@@ -0,0 +1,12 @@
|
||||
# This file is for environment variables only.
|
||||
|
||||
# 1. Add binary paths to the PATH environment variable.
|
||||
# We prepend so they are found before system defaults.
|
||||
$env.PATH = ($env.PATH |
|
||||
prepend '~/.fzf/bin' |
|
||||
prepend '~/.local/bin' |
|
||||
prepend '/snap/bin'
|
||||
)
|
||||
|
||||
# 2. Source the Cargo environment to add its bin directory to the PATH.
|
||||
source $"($nu.home-path)/.cargo/env.nu"
|
||||
Reference in New Issue
Block a user