Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Médéric Hurier
committed
Feb 1, 2020
1 parent
fef64c2
commit ff6cc23
Showing
4 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
set -g default-command ~/.local/bin/xonsh | ||
set -g default-terminal 'screen-256color' | ||
# set -g default-command ~/.local/bin/xonsh | ||
# set -g default-terminal 'screen-256color' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# CONFIGS | ||
set -g fish_greeting '' | ||
# EXPORTS | ||
set -gx EDITOR vim | ||
set -gx LANG en_US.UTF-8 | ||
set -gx PATH venv/bin $HOME/bin $HOME/.local/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin | ||
# PROMPTS | ||
function fish_prompt | ||
set -l last_status $status | ||
|
||
set_color brred | ||
printf "%s" (whoami) | ||
set_color normal | ||
printf " at " | ||
set_color brgreen | ||
printf "%s" (hostname) | ||
set_color normal | ||
printf " in " | ||
set_color brblue | ||
printf "%s" (prompt_pwd) | ||
set_color brmagenta | ||
printf "%s" (__fish_git_prompt) | ||
set_color normal | ||
|
||
if test $last_status -ne 0 | ||
printf " ! " | ||
else if test (id -u) -eq 0 | ||
printf " # " | ||
else | ||
printf " \$ " | ||
end | ||
end | ||
# PLUGINS | ||
eval $HOME/.anaconda/bin/conda "shell.fish" "hook" $argv | source | ||
status --is-login; and status --is-interactive; and exec byobu-launcher |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
|
||
- name: package | ||
package: | ||
name: fish | ||
become: true | ||
tags: admin | ||
|
||
- name: directory | ||
file: | ||
state: directory | ||
name: ~/.config/fish/ | ||
tags: user | ||
|
||
- name: config | ||
file: | ||
force: yes | ||
state: link | ||
dest: ~/.config/fish/config.fish | ||
src: "{{ role_path }}/files/config.fish" | ||
tags: user |
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