make the nature of zsh more apparent

This commit is contained in:
Daylin Morgan 2022-08-13 13:26:55 -05:00
parent 6dda0b1d21
commit 0d8d7972b2
8 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# system usage
#########################################
alias reload="source ~/.zshrc"

View File

@ -1,3 +1,4 @@
#!/usr/bin/env zsh
# Updated to use $HOME
# >>> conda initialize >>>

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# env variables
if ! [ $(cat /etc/hostname)=="thinkpad" ]; then
export BROWSER=/mnt/c/Users/daylin/AppData/Local/Vivaldi/Application/vivaldi.exe
@ -5,4 +7,3 @@ else
export BROWSER=vivaldi-stable
fi
# aliases
alias files=explorer.exe

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# XDG
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
function cl() {
DIR="$*"
# if no DIR given, go home

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# Auto-completion
# ---------------
[[ $- == *i* ]] && source "$HOME/.fzf/shell/completion.zsh" 2>/dev/null

View File

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# Start with system path
# Retrieve it from getconf, otherwise it's just current $PATH
prepend-path() {