home.nix | more fixes?
This commit is contained in:
parent
b855ea2252
commit
eb47b10618
1 changed files with 18 additions and 10 deletions
|
|
@ -6,14 +6,11 @@
|
||||||
home.homeDirectory = "/home/don";
|
home.homeDirectory = "/home/don";
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
x = "myX";
|
|
||||||
mroe = "more";
|
|
||||||
moer = "more";
|
|
||||||
ls = "ls -hCF";
|
ls = "ls -hCF";
|
||||||
l = "ls -l";
|
l = "ls -l";
|
||||||
df = "df -h -x squashfs";
|
df = "df -h -x squashfs";
|
||||||
du = "du -h" ;
|
du = "du -h" ;
|
||||||
dotdrop = "\$\{HOME\}/.local/bin/dotdrop -c ~/.dotfiles/config.yaml";
|
dotdrop = "~/.local/bin/dotdrop -c ~/.dotfiles/config.yaml";
|
||||||
t = "task";
|
t = "task";
|
||||||
ttoday = "task +TODAY or +OVERDUE -BLOCKED";
|
ttoday = "task +TODAY or +OVERDUE -BLOCKED";
|
||||||
ttom = "task +OVERDUE or +TOMORROW -BLOCKED";
|
ttom = "task +OVERDUE or +TOMORROW -BLOCKED";
|
||||||
|
|
@ -123,6 +120,7 @@
|
||||||
export GOPATH="~/go"
|
export GOPATH="~/go"
|
||||||
export PROMPT_COMMAND='history -a'
|
export PROMPT_COMMAND='history -a'
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
export PATH="$PATH:~/bin:~/.local/bin"
|
||||||
set bell-style visible
|
set bell-style visible
|
||||||
set nobeep
|
set nobeep
|
||||||
set -o noclobber
|
set -o noclobber
|
||||||
|
|
@ -130,14 +128,24 @@
|
||||||
umask 0007
|
umask 0007
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
export LESS="-s"
|
export LESS="-s"
|
||||||
. "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"
|
if [ -f "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh" ]
|
||||||
if [ -d ~/.bash_completion.d ]; then
|
then
|
||||||
for i in $(ls -1 ~/.bash_completion.d/*.sh); do . $i; done
|
. "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"
|
||||||
|
if [ -d ~/.bash_completion.d ]; then
|
||||||
|
for i in $(ls -1 ~/.bash_completion.d/*.sh); do . $i; done
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
export HOSTNAME_SHORT=$(hostname -s)
|
export HOSTNAME_SHORT=$(hostname -s)
|
||||||
test -f "~/.bash_$(hostname -s)" && . ~/.bash_$(hostname -s)
|
test -f ~/.bash_$(hostname -s) && . ~/.bash_$(hostname -s)
|
||||||
test -f ~/.liquidprompt/liquidprompt && . ~/.liquidprompt/liquidprompt
|
[[ $- == *i* ]] && test -f ~/.liquidprompt/liquidprompt && . ~/.liquidprompt/liquidprompt
|
||||||
test -f "~/.bash_functions" && . "~/.bash_functions"
|
test -f ~/.bash_functions && . ~/.bash_functions
|
||||||
|
export TZ=America/Chicago
|
||||||
|
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock"
|
||||||
|
export LESS="-FrSsUWX -z-3"
|
||||||
|
headset-setup
|
||||||
|
|
||||||
|
if [ $( tty | grep -v -q pts ) ]; then setterm --blank 1; fi
|
||||||
|
export FZF_DEFAULT_OPTS='--color=fg:#f8f8f2,bg:#282a36,hl:#bd93f9 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 --color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4'
|
||||||
'';
|
'';
|
||||||
profileExtra =
|
profileExtra =
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue