Compare commits
2 commits
eaf2b014d2
...
709ea8576c
Author | SHA1 | Date | |
---|---|---|---|
709ea8576c | |||
a8949549bd |
2 changed files with 7 additions and 5 deletions
1
_zshrc
1
_zshrc
|
@ -31,6 +31,7 @@ function zle-keymap-select {
|
|||
zle -N zle-keymap-select
|
||||
|
||||
[ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc"
|
||||
[ -f "$HOME/./config/bashrc" ] && emulate sh -c "source $HOME/./config/bashrc"
|
||||
|
||||
[ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
[ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ] && source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
|
|
11
flake.nix
11
flake.nix
|
@ -33,6 +33,7 @@
|
|||
userEmail = "osh@oshgnacknak.de";
|
||||
};
|
||||
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = neovim-nightly-overlay.packages.${pkgs.system}.default;
|
||||
|
@ -42,6 +43,10 @@
|
|||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
programs.bash.initExtra = ''
|
||||
exec zsh
|
||||
'';
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
||||
|
@ -57,10 +62,6 @@
|
|||
[ -f "$HOME/.config/zshrc" ] && source $HOME/.config/zshrc
|
||||
'';
|
||||
|
||||
programs.bash.initExtra = ''
|
||||
exec zsh
|
||||
'';
|
||||
|
||||
plugins = [
|
||||
{
|
||||
name = "manydots-magic";
|
||||
|
@ -102,7 +103,7 @@
|
|||
# Link dotfiles without forcing overwrite (fails safely if a file already exists)
|
||||
home.file.".tmux.conf".source = ./_tmux.conf;
|
||||
home.file.".config/zshrc".source = ./_zshrc;
|
||||
home.file.".bashrc".source = ./_bashrc;
|
||||
home.file.".config/bashrc".source = ./_config/bashrc;
|
||||
|
||||
home.file.".local/share/nvim/site/autoload/plug.vim".source = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim";
|
||||
|
|
Loading…
Add table
Reference in a new issue