Testing emacs
This commit is contained in:
@@ -1,21 +1,30 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
# custom settings
|
||||
settings = {
|
||||
add_newline = false;
|
||||
aws.disabled = true;
|
||||
gcloud.disabled = true;
|
||||
line_break.disabled = true;
|
||||
};
|
||||
home.sessionVariables = {
|
||||
SHELL = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
highlighters = [ "main" "brackets" "cursor" "root" "line" ];
|
||||
};
|
||||
autosuggestion.enable = true;
|
||||
autocd = true;
|
||||
defaultKeymap = "vicmd";
|
||||
sessionVariables = {
|
||||
PATH="$PATH:$HOME/.local/usr/bin";
|
||||
PYTHONBREAKPOINT="pudb.set_trace";
|
||||
};
|
||||
shellAliases = {
|
||||
urlencode = "python3 -c 'import sys, urllib.parse as ul; print(ul.quote_plus(sys.stdin.read()))'";
|
||||
urldecode = "python3 -c 'import sys, urllib.parse as ul; print(il.unquote_plus(sys.stdin.read()))'";
|
||||
ls = "eza";
|
||||
cat = "bat";
|
||||
l = "ls -lh --color=always --group-directories-first";
|
||||
la = "ls -lah --color=always --group-directories-first";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
@@ -43,20 +52,7 @@
|
||||
"vi-mode"
|
||||
"zsh-navigation-tools"
|
||||
];
|
||||
# theme = "starship";
|
||||
};
|
||||
};
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
bashrcExtra = ''
|
||||
export PATH="$PATH:$HOME/.local/usr/bin";
|
||||
'';
|
||||
shellAliases = {
|
||||
urlencode = "python3 -c 'import sys, urllib.parse as ul; print(ul.quote_plus(sys.stdin.read()))'";
|
||||
urldecode = "python3 -c 'import sys, urllib.parse as ul; print(il.unquote_plus(sys.stdin.read()))'";
|
||||
ls = "eza";
|
||||
cat = "bat";
|
||||
theme = "fox";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user