ey im xonshing here!
This commit is contained in:
parent
fad3683ffa
commit
648803b90c
5 changed files with 129 additions and 92 deletions
|
|
@ -110,9 +110,6 @@
|
|||
}; # end programs
|
||||
# nixpkgs config
|
||||
xdg.configFile."nixpkgs/config.nix".source = ../conf/config.nix;
|
||||
home.file.".xonshrc"= {
|
||||
source = ../conf/xonshrc;
|
||||
};
|
||||
|
||||
# Ensure fish exists for the completer backend
|
||||
home.packages = [ pkgs.fish ];
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
# XONSH WEBCONFIG START
|
||||
$XONSH_COLOR_STYLE = 'default'
|
||||
$PROMPT = '{YELLOW}{env_name}{RESET}{BOLD_GREEN}{user}@{hostname}{BOLD_BLUE} {cwd}{branch_color}{curr_branch: {}}{RESET} {RED}{last_return_code_if_nonzero:[{BOLD_INTENSE_RED}{}{RED}] }{RESET}{BOLD_BLUE}{prompt_end}{RESET} '
|
||||
xontrib load coreutils
|
||||
xontrib load fish_completer
|
||||
xontrib load direnv
|
||||
xontrib load fzf-completions
|
||||
xontrib load clp
|
||||
xontrib load abbrevs
|
||||
|
||||
from xonsh.built_ins import XSH
|
||||
XSH.env['fzf_history_binding'] = "c-r" # Ctrl+R
|
||||
XSH.env['fzf_ssh_binding'] = "c-s" # Ctrl+S
|
||||
XSH.env['fzf_file_binding'] = "c-t" # Ctrl+T
|
||||
XSH.env['fzf_dir_binding'] = "c-g" # Ctrl+G
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue