Reformat to Student config
This commit is contained in:
1 parent
28ebd8999d
commit
94b73b6d67
91 files changed
+785
-6603
No files matched your search
@@ -1,13 +0,0 @@
|
||||
alias rgf='rg --files | rg'
|
||||
alias ls='eza --icons=auto'
|
||||
alias md='mkdir'
|
||||
alias cat='bat -pp'
|
||||
alias man='batman'
|
||||
alias diff='batdiff'
|
||||
alias fzf="fzf --preview 'bat --style=numbers --color=always {}'"
|
||||
alias vi="nvim"
|
||||
alias vim="nvim"
|
||||
alias em="emacs -nw"
|
||||
alias et="emacsclient -t"
|
||||
alias ec="emacsclient -c"
|
||||
alias sbcl="ros run --"
|
||||
@@ -0,0 +1,63 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.bash.enable = true;
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs.bat-extras; [ batdiff batman ];
|
||||
};
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
icons = null;
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = lib.concatStringsSep " " [
|
||||
"$nix_shell"
|
||||
"$directory"
|
||||
"$git_branch"
|
||||
"$git_status"
|
||||
"$git_commit"
|
||||
"$status"
|
||||
"$fill"
|
||||
"$lua"
|
||||
"$rust"
|
||||
"$golang"
|
||||
"$haskell"
|
||||
"$jobs"
|
||||
"$cmd_duration"
|
||||
"$line_break"
|
||||
"$character"];
|
||||
|
||||
nix_shell.format = "[nix]($style)";
|
||||
directory.truncation_length = 2;
|
||||
git_branch = {
|
||||
format = "[$branch(:$remote_branch)]($style)";
|
||||
ignore_branches = ["master" "main"];
|
||||
};
|
||||
git_status.format = "([\\[$all_status$ahead_behind\\]]($style))";
|
||||
git_commit.format = "[\\[#$hash$tag\\]]($style)";
|
||||
status = {
|
||||
format = "[\\[$status\\]]($style)";
|
||||
disabled = false;
|
||||
};
|
||||
fill.symbol = " ";
|
||||
lua = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
detect_files = [".lua-version" ".luarc.json"];
|
||||
};
|
||||
rust = {
|
||||
format = "[($version)]($style)";
|
||||
version_format = "$major.$minor";
|
||||
};
|
||||
haskell.format = "[($ghc_version)]($style)";
|
||||
cmd_duration.format = "[$duration]($style) ";
|
||||
character = {
|
||||
success_symbol = "[>](bold #a6e3a1)";
|
||||
error_symbol = "[>](bold #f38ba8)";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
gvc() {
|
||||
if [[ $1 == "clone" ]]; then
|
||||
shift
|
||||
git clone git@git.venomade.com:"$@"
|
||||
else
|
||||
ssh git@git.venomade.com "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
function y() {
|
||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||
command yazi "$@" --cwd-file="$tmp"
|
||||
IFS= read -r -d '' cwd < "$tmp"
|
||||
[ "$cwd" != "$PWD" ] && [ -d "$cwd" ] && builtin cd -- "$cwd"
|
||||
rm -f -- "$tmp"
|
||||
}
|
||||
|
||||
function pcd() {
|
||||
cd "$(project)"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
export EDITOR=kak
|
||||
export ZK_NOTEBOOK_DIR=$HOME/Documents/Notes
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export GOPATH=$HOME/.go
|
||||
export LIMA_SHELL=/bin/zsh
|
||||
export LANGUAGE=en_GB
|
||||
export CPATH=/usr/include
|
||||
Reference in new issue
Block a user