some zsh sugar
This commit is contained in:
parent
6874f88994
commit
661d4dffe9
2 changed files with 11 additions and 0 deletions
|
@ -80,6 +80,8 @@
|
|||
export HISTFILE="$HOME/.zsh_history"
|
||||
export HISTSIZE=10000000
|
||||
export SAVEHIST=10000000
|
||||
# allow comments
|
||||
setopt interactivecomments
|
||||
'';
|
||||
promptInit = ''
|
||||
source ${pkgs.liquidprompt}/share/zsh/plugins/liquidprompt/liquidprompt
|
||||
|
@ -97,6 +99,11 @@
|
|||
LP_SSH_COLORS=1
|
||||
'';
|
||||
};
|
||||
# integrate fzf into shell
|
||||
programs.fzf = {
|
||||
keybindings = true;
|
||||
fuzzyCompletion = true;
|
||||
};
|
||||
|
||||
programs.iftop.enable = true;
|
||||
programs.mosh.enable = true;
|
||||
|
|
|
@ -132,10 +132,14 @@
|
|||
|
||||
services.udisks2.enable = true;
|
||||
environment.shellAliases = {
|
||||
# mounting shit
|
||||
mnt = "udisksctl mount -b";
|
||||
umnt = "udisksctl unmount -b";
|
||||
unlock = "udisksctl unlock -b";
|
||||
lock = "udisksctl lock -b";
|
||||
# easier navigation
|
||||
pwc = "pwd|wl-copy";
|
||||
cdp = "cd $(wl-paste)";
|
||||
};
|
||||
|
||||
qt = {
|
||||
|
|
Loading…
Add table
Reference in a new issue