mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
fish: Show tasks when opening a new terminal
Note that in the future I may simply use something else instead.
This commit is contained in:
parent
7eb4952e3e
commit
60c2561fec
@ -1,7 +1,16 @@
|
||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
||||
# Copyright (C) 2017-2022 Donovan Glover
|
||||
|
||||
set -U fish_greeting ""
|
||||
# Show tasks when opening a new terminal
|
||||
function fish_greeting
|
||||
if test "$PWD" = "$HOME"
|
||||
fish_prompt
|
||||
set_color blue
|
||||
echo task
|
||||
set_color normal
|
||||
task
|
||||
end
|
||||
end
|
||||
|
||||
export VISUAL="nvim"
|
||||
export EDITOR="nvim"
|
||||
|
Loading…
Reference in New Issue
Block a user