mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2025-02-26 14:19:52 -05:00
56 lines
1.4 KiB
Fish
56 lines
1.4 KiB
Fish
if test -f "$HOME/.confid/fish/fish.profile"
|
|
source "$HOME/.confid/fish/fish.profile"
|
|
end
|
|
|
|
|
|
set PATH "$HOME/.local/bin:$PATH"
|
|
|
|
if test -d "$HOME/.basher/bin"
|
|
set PATH "$HOME/.basher/bin:$PATH"
|
|
status --is-interactive; and source (basher init - fish|psub)
|
|
end
|
|
|
|
# Adds `~/.config/composer/vendor/bin` to $PATH
|
|
# set PATH so it includes user's private bin if it exists
|
|
if test -d "$HOME/.config/composer/vendor/bin"
|
|
set PATH "$HOME/.config/composer/vendor/bin:$PATH"
|
|
end
|
|
|
|
# Adds `~/.local/bin/repobar` to $PATH
|
|
# set PATH so it includes user's private bin if it exists
|
|
if test -d "$HOME/.local/bin/repobar"
|
|
set PATH "$HOME/.local/bin/repobar:$PATH"
|
|
end
|
|
|
|
# Adds `~/.local/bin/discord_bot` to $PATH
|
|
# set PATH so it includes user's private bin if it exists
|
|
if test -d "$HOME/.local/bin/discord_bot"
|
|
set PATH "$HOME/.local/bin/discord_bot:$PATH"
|
|
end
|
|
|
|
# Adds `~/.local/bin/clipmenu` to $PATH
|
|
# set PATH so it includes user's private bin if it exists
|
|
if test -d "$HOME/.local/bin/clipmenu"
|
|
set PATH "$HOME/.local/bin/clipmenu:$PATH"
|
|
end
|
|
|
|
|
|
function fish_greeting
|
|
bfetch --source ~/.config/bfetch/ascii.art --ascii_colors 7 1 2 3 5 8 --birthday 16/06
|
|
end
|
|
|
|
# Get all the files inside folder
|
|
for file in "$HOME/.config/fish/aliases/"*
|
|
source $file
|
|
end
|
|
|
|
# Keybinding
|
|
bind \ec __history_previous_command
|
|
bind \e\e __sudope
|
|
|
|
if status is-login
|
|
if test (tty) = /dev/tty1
|
|
exec tbsm
|
|
end
|
|
end
|