small zshrc updates

This commit is contained in:
stitchy 2024-03-27 03:56:49 +00:00
parent a2f3b33514
commit 6b7a2d1269
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 11 additions and 27 deletions

View file

@ -17,29 +17,20 @@ export XDG_STATE_HOME="$HOME/.local/state"
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
alias myip="curl ifconfig.me"
alias ghidra="_JAVA_AWT_WM_NONREPARENTING=1 ghidra"
alias ls='eza' # makes ls colorful
alias ls='eza'
alias v="nvim" # Launch neovim with 'v'
alias mountUSB="mount /home/flyingstitchman/ExternalDrive" # Automagically mount and unmount my flashdrive
alias umountUSB="umount /home/flyingstitchman/ExternalDrive"
alias dotfiles='/usr/bin/git --git-dir=$HOME/Documents/Repos/dootfiles/.git --work-tree=$HOME'
alias unityAvi="/home/flyingstitchman/Documents/Unity/Editors/2019.4.31f1/Editor/Unity -projectPath ~/ExternalDrive/Unity\ Projects/Avatar\ 3.0\ 2019"
alias ssh="TERM=xterm ssh" #Fix foot issue in ssh
alias gdb="gdb -x /usr/share/pwndbg/gdbinit.py" #pwntools for GDB
alias l="ls -C | sort -k1,1"
alias make="make -j 20"
alias cd="z"
alias imv="imv -b aa77bb"
alias find="fd"
alias tree="eza --tree"
alias sshh='ssh -i ~/.ssh/panoply'
alias icat="kitty +kitten icat"
# Work Stuff
#source /usr/bin/virtualenvwrapper.sh
#export WORKON_HOME=~/.venvs/
# Automatically get new programs for autocompletion
zshcache_time="$(date +%s%N)"
@ -65,7 +56,7 @@ autoload -Uz promptinit && promptinit
# Define the theme
prompt_mytheme_setup() {
PS1=" %F{#C250B0}Flying%f%F{#60F060}_%f%F{#50C0C0}Stitchman%f%F{#40F040}%B %1~%b%f "
PS1=" %F{#bf80ff}%D{%a %H:%M}%f%F{#400080}-%f%F{#C250B0}%m%f% %F{#400080}@%f%F{#50C0C0}%n%f%F{#40F040}%B %1~%b%f "
}
# Add the theme to promptsys
@ -120,6 +111,7 @@ export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
export DOTNET_CLI_HOME="$XDG_CONFIG_HOME"/dotnet
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
# Nvidia moment
export WLR_NO_HARDWARE_CURSORS=1

View file

@ -1,30 +1,22 @@
{ config,
nixosConfig,
pkgs,
lib,
inputs,
home-manager,
... }:
{
imports = [
#inputs.nix-index-db.hmModules.nix-index
];
home.packages = lib.attrVals [
#"placeholder"
] pkgs;
# systemd.user.services.mailsync = {
home.file = {
".zshrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/zshrc";
};
#}
home.packages = with pkgs; [
];
#programs.hyprland.enable = true;
# hyprland.homeManagerModules.default
#wayland.windowManager.hyprland.enable = true;
# Read the Docs before change
home.stateVersion = "23.05";
#home.homeDirectory = "/home/stitchynyan";
home.homeDirectory = "/home/nyadmin";
}