mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
23 lines
589 B
Fish
23 lines
589 B
Fish
# $DOTFILES/tools/fish/config.fish
|
|
# Date: 2024-12-15
|
|
# Author: js0ny
|
|
# Define interactive shell configurations for fish
|
|
|
|
# Location:
|
|
# ~/.config/fish/config.fish (default location)
|
|
# Linking: Link the whole directory for submodules
|
|
# ln -sf $DOTFILES/tools/fish ~/.config/fish
|
|
|
|
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
switch (uname)
|
|
case "Darwin"
|
|
# macOS Specific
|
|
abbr --add clip pbcopy
|
|
abbr --add paste pbpaste
|
|
case "Linux"
|
|
# Linux Specific
|
|
case '*'
|
|
# Default / Fallback case
|
|
end
|
|
end
|