small zshrc updates
This commit is contained in:
parent
a2f3b33514
commit
15bd2c2bdb
2 changed files with 10 additions and 27 deletions
14
config/zshrc
14
config/zshrc
|
@ -17,29 +17,20 @@ export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
|
alias kon="ncmpcpp -b ~/.config/ncmpcpp/bindings"
|
||||||
alias myip="curl ifconfig.me"
|
alias myip="curl ifconfig.me"
|
||||||
alias ghidra="_JAVA_AWT_WM_NONREPARENTING=1 ghidra"
|
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 v="nvim" # Launch neovim with 'v'
|
||||||
alias mountUSB="mount /home/flyingstitchman/ExternalDrive" # Automagically mount and unmount my flashdrive
|
alias mountUSB="mount /home/flyingstitchman/ExternalDrive" # Automagically mount and unmount my flashdrive
|
||||||
alias umountUSB="umount /home/flyingstitchman/ExternalDrive"
|
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 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 ssh="TERM=xterm ssh" #Fix foot issue in ssh
|
||||||
alias gdb="gdb -x /usr/share/pwndbg/gdbinit.py" #pwntools for GDB
|
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 make="make -j 20"
|
||||||
alias cd="z"
|
alias cd="z"
|
||||||
alias imv="imv -b aa77bb"
|
alias imv="imv -b aa77bb"
|
||||||
alias find="fd"
|
alias find="fd"
|
||||||
alias tree="eza --tree"
|
alias tree="eza --tree"
|
||||||
alias sshh='ssh -i ~/.ssh/panoply'
|
|
||||||
alias icat="kitty +kitten icat"
|
alias icat="kitty +kitten icat"
|
||||||
|
|
||||||
# Work Stuff
|
|
||||||
#source /usr/bin/virtualenvwrapper.sh
|
|
||||||
#export WORKON_HOME=~/.venvs/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Automatically get new programs for autocompletion
|
# Automatically get new programs for autocompletion
|
||||||
|
|
||||||
zshcache_time="$(date +%s%N)"
|
zshcache_time="$(date +%s%N)"
|
||||||
|
@ -65,7 +56,7 @@ autoload -Uz promptinit && promptinit
|
||||||
|
|
||||||
# Define the theme
|
# Define the theme
|
||||||
prompt_mytheme_setup() {
|
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
|
# 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 DOTNET_CLI_HOME="$XDG_CONFIG_HOME"/dotnet
|
||||||
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||||
|
# Nvidia moment
|
||||||
export WLR_NO_HARDWARE_CURSORS=1
|
export WLR_NO_HARDWARE_CURSORS=1
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
{ config,
|
{ config,
|
||||||
nixosConfig,
|
nixosConfig,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -9,22 +7,15 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
home.packages = lib.attrVals [
|
||||||
#inputs.nix-index-db.hmModules.nix-index
|
#"placeholder"
|
||||||
];
|
] pkgs;
|
||||||
|
|
||||||
# systemd.user.services.mailsync = {
|
|
||||||
|
|
||||||
#}
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
];
|
|
||||||
#programs.hyprland.enable = true;
|
|
||||||
# hyprland.homeManagerModules.default
|
|
||||||
#wayland.windowManager.hyprland.enable = true;
|
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".zshrc".source = config.lib.file.mkOutOfStoreSymlink "/etc/nixos/config/.zshrc";
|
||||||
|
};
|
||||||
|
|
||||||
# Read the Docs before change
|
# Read the Docs before change
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
#home.homeDirectory = "/home/stitchynyan";
|
home.homeDirectory = "/home/nyadmin";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue