Last active
December 22, 2020 10:06
-
-
Save alsolovyev/735d78ac45832ff0b5377b6248acf082 to your computer and use it in GitHub Desktop.
Configuration file for Fish Shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ccopy -d 'WSL. Copy to clipboard' | |
clip.exe < $argv | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fish Shell Config for Bobthefish Theme | |
# | |
# - location: ~/.config/fish/config.fish | |
# - theme: https://github.com/oh-my-fish/theme-bobthefish | |
# | |
# Aliases | |
alias py='python3.8' | |
alias pip='pip3' | |
# Title options | |
set -g theme_title_display_process yes | |
set -g theme_title_display_path no | |
# set -g theme_title_display_user yes | |
# set -g theme_title_use_abbreviated_path no | |
# Prompt options | |
set -g theme_display_vagrant no | |
set -g theme_display_docker_machine no | |
set -g theme_display_k8s_context no | |
set -g theme_display_hg no | |
set -g theme_display_virtualenv no | |
set -g theme_display_nix no | |
set -g theme_display_ruby no | |
set -g theme_display_nvm no | |
set -g theme_display_user no | |
set -g theme_display_hostname no | |
set -g theme_display_vi no | |
set -g theme_display_date yes | |
set -g theme_date_format "+%H:%M" | |
set -g theme_display_cmd_duration no | |
# set -g theme_date_timezone America/Los_Angeles | |
# set -g theme_avoid_ambiguous_glyphs yes | |
# set -g theme_powerline_fonts no | |
# set -g theme_nerd_fonts yes | |
# set -g theme_show_exit_status yes | |
set -g theme_display_jobs_verbose no | |
# set -g default_user your_normal_user | |
# set -g theme_color_scheme dark | |
# set -g fish_prompt_pwd_dir_length 0 | |
# set -g theme_project_dir_length 1 | |
# set -g theme_newline_cursor yes | |
# set -g theme_newline_prompt '$ ' | |
# Git options | |
set -g theme_display_git yes | |
set -g theme_display_git_dirty yes | |
set -g theme_display_git_untracked no | |
set -g theme_display_git_ahead_verbose no | |
set -g theme_display_git_dirty_verbose no | |
set -g theme_display_git_stashed_verbose no | |
set -g theme_display_git_default_branch no | |
# set -g theme_git_default_branches master main | |
set -g theme_git_worktree_support no | |
set -g theme_use_abbreviated_branch_name no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install Fish shell | |
sudo apt-add-repository -y ppa:fish-shell/release-3 | |
sudo apt update | |
sudo apt install -y fish | |
# Set fish as the default shell | |
chsh -s $(which fish) | |
# Install On My Fish | |
# curl -L https://get.oh-my.fish | fish | |
# Install Bobthefish Theme | |
# fish -c "omf install bobthefish" | |
# Remove Greeting message | |
# echo -e "function fish_greeting\n\nend\n" | tee ~/.config/fish/functions/fish_greeting.fish | |
# Download Config file | |
# curl '' > ~/.config/fish/config.fish | |
# Enter the Fish Shell | |
# fish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mk -d 'Make a directory and cd into it' | |
mkdir $argv && cd $argv | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment