Compare commits
7 commits
bf4461d02a
...
66ef7b2388
Author | SHA1 | Date | |
---|---|---|---|
66ef7b2388 | |||
3f64717168 | |||
0ba3a0e5c1 | |||
a495c309f2 | |||
14f7eec2af | |||
cba1f2c85a | |||
28f7e436cb |
2 changed files with 20 additions and 4 deletions
15
_bashrc
15
_bashrc
|
@ -1,16 +1,27 @@
|
|||
#!/bin/sh
|
||||
|
||||
alias la='ls --color=auto -la'
|
||||
alias ll='ls --color=auto -l'
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
alias :e="nvim"
|
||||
alias v="nvim"
|
||||
alias vi="nvim"
|
||||
alias vim="nvim"
|
||||
|
||||
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() {
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
mkdir -p "$1"
|
||||
cd "$1"
|
||||
}
|
||||
|
||||
export PS1="
|
||||
|
|
|
@ -54,6 +54,12 @@
|
|||
[ -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 = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
|
@ -77,8 +83,7 @@
|
|||
thefuck
|
||||
];
|
||||
|
||||
# Example: link dotfiles without forcing overwrite
|
||||
# (fails safely if a file already exists)
|
||||
# Link dotfiles without forcing overwrite (fails safely if a file already exists)
|
||||
home.file.".tmux.conf".source = ./_tmux.conf;
|
||||
home.file.".zshrc".source = ./_zshrc;
|
||||
home.file.".bashrc".source = ./_bashrc;
|
||||
|
|
Loading…
Add table
Reference in a new issue