Compare commits

...

7 commits

Author SHA1 Message Date
66ef7b2388
flake 2025-09-06 23:57:15 +02:00
3f64717168
Use aura as pacman 2025-09-06 23:45:00 +02:00
0ba3a0e5c1
unison: alias also for compatibility version 2025-09-06 23:44:12 +02:00
a495c309f2
Use general unison 2025-09-06 23:44:12 +02:00
14f7eec2af
Fix log location 2025-09-06 23:44:12 +02:00
cba1f2c85a
Unison alias 2025-09-06 23:44:11 +02:00
28f7e436cb
Add move aliases 2025-09-06 23:44:11 +02:00
2 changed files with 20 additions and 4 deletions

15
_bashrc
View file

@ -1,16 +1,27 @@
#!/bin/sh #!/bin/sh
alias la='ls --color=auto -la'
alias ll='ls --color=auto -l'
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias :e="nvim"
alias v="nvim"
alias vi="nvim" alias vi="nvim"
alias vim="nvim" alias vim="nvim"
alias f="fuck" alias f="fuck"
alias irssi='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi'
alias unison="unison -logfile ~/.unison/unison.log"
alias unison-2.48="unison-2.48 -logfile ~/.unison/unison.log"
alias pacman="aura"
mkcd() { mkcd() {
mkdir -p $1 mkdir -p "$1"
cd $1 cd "$1"
} }
export PS1=" export PS1="

View file

@ -54,6 +54,12 @@
[ -f "$HOME/.zshrc" ] && emulate sh -c "source $HOME/.zshrc" [ -f "$HOME/.zshrc" ] && emulate sh -c "source $HOME/.zshrc"
''; '';
environment.interactiveShellInit = ''
fpath+=("${pkgs.zsh}/share/zsh/${ZSH_VERSION}/functions" "${pkgs.zsh}/share/zsh/functions")
autoload -Uz manydots-magic
manydots-magic
'';
zplug = { zplug = {
enable = true; enable = true;
plugins = [ plugins = [
@ -77,8 +83,7 @@
thefuck thefuck
]; ];
# Example: link dotfiles without forcing overwrite # Link dotfiles without forcing overwrite (fails safely if a file already exists)
# (fails safely if a file already exists)
home.file.".tmux.conf".source = ./_tmux.conf; home.file.".tmux.conf".source = ./_tmux.conf;
home.file.".zshrc".source = ./_zshrc; home.file.".zshrc".source = ./_zshrc;
home.file.".bashrc".source = ./_bashrc; home.file.".bashrc".source = ./_bashrc;