Commit Graph

29 Commits

Author SHA1 Message Date
Donovan Glover
102dd8a0c2
Switch from dog to bat
"dog" was an alternative I used to cat for syntax highlighting. Now that
bat exists (which is written in rust, by the way), there is no need to
use "dog" and I highly recommend anyone interested to use bat instead.
2021-05-14 17:28:36 -04:00
Donovan Glover
23f6525aff
fish: Don't start X at login
Now we can do some cool stuff in tty1 when we decide to not start a
display manager.
2021-05-14 17:16:58 -04:00
Donovan Glover
e2ca722963
meta: Miscellaneous updates
I wanted to commit some more stuff for 2020. Better late than never,
right? The most significant change is probably in fish_prompt.fish.
I fixed an edge case where the directory in question could be the
same as the user's username.
2020-12-31 23:56:22 -05:00
Donovan Glover
36f0364d45
fish: Add abbreviations for yarn 2019-01-15 23:01:57 -05:00
Donovan Glover
1777de5b11
fish: Remove --verbose flag from git branch abbreviation
Now that I understand more about how `git branch` works, I really use
it for more than just the --verbose flag.
2019-01-01 13:57:22 -05:00
Donovan Glover
e37ea93566
fish: Add kitty set-colors abbreviation
This abbreviation is useful when you change your color scheme with
wal and plan to or have multiple kitty windows open (since kitty
itself will still be using the color scheme it initially loaded
from the config file).
2019-01-01 13:50:59 -05:00
Donovan Glover
571c03bb55
meta: Add git tag information to fish prompt
Now that I understand how tags work in git, keeping track of the current
revision number with the shell prompt is actually very useful.
2018-12-17 15:45:39 -05:00
Donovan Glover
71179c2e67
fish: Remove git grep abbreviation
As cool as "gg" is to type, I never used git grep since ripgrep works
just as great (and is almost always easier to read as well).
2018-12-06 18:11:07 -05:00
Donovan Glover
72411885cd
fish: Add color to man pages
Note that this will affect the output of `env` since color codes are
used. Using a function to invoke man is not ideal since fish uses its
own function for its man pages.
2018-12-05 23:31:06 -05:00
Donovan Glover
1ad54203d2
meta: Add git branch information to fish prompt
If I stayed on zsh instead of switch to fish, I would've probably never
known how easy it is to add certain information to the prompt. Since
the prompt itself is just a function, you can run any commands you want
inside it to get information, including git commands.

This commit adds the current branch you're on only when inside a git
repository, and only when you're not in a tty.
2018-12-05 11:45:29 -05:00
Donovan Glover
8b490aa2d0
fish: Remove git status -s abbreviation
It turns out that the short version of git status is not as informative
as the regular git status, making it impractical to use.
2018-12-03 18:44:09 -05:00
Donovan Glover
3b2fee629f
fish: Add git merge and git tag abbreviations 2018-12-03 12:33:24 -05:00
Donovan Glover
9f27d4e13a
meta: Remove launch dependency
Now that I know how to use terminal multiplexers, and now that I
understand more about how shells and terminals work, the launch
dependency is no longer necessary.

Additionally, *too many* abbreviations is difficult to use in the long
term, no matter how short the commands are. Since I don't need to launch
programs from the terminal as often anymore (now that I use rofi and
other programs), this change makes sense.
2018-12-01 18:18:44 -05:00
Donovan Glover
d7a0419c2b
fish: Remove 'hub' and 'lab' functions
Typing git repositories in the format 'hub' and 'lab' accepted actually
took more time than simply copy/pasting the URL for `git clone`. Sometimes
we didn't even *want* to change our current directory, which made these
functions impractical.

Having to use `git clone` directly helps us remember what we're actually
doing when we clone a repository, and should be preferred over aliases
and other functions that try to do the same.
2018-12-01 15:57:26 -05:00
Donovan Glover
7fc6547a8b
fish: Remove 'git home' function
It turns out that I don't use this function at all, so I'm removing it.
2018-12-01 15:28:52 -05:00
Donovan Glover
26c57a6b8d
fish: Add tty-specific prompt
Since most (if not all) ttys will not support the arrow unicode
character, we remove it from the tty prompt.
2018-11-30 18:43:41 -05:00
Donovan Glover
ab546aed60
neofetch: Make new stow package with config.conf
Instead of relying on a fish function to configure neofetch,
we can use config.conf instead.

Since neofetch is an independent program, we also make a new stow
package for it, instead of relying on the fish config being present.
2018-11-23 13:24:30 -05:00
Donovan Glover
6ccf5d3352
docs: Update READMEs for fish, git, and tmux
This is the start of a process to change the old
READMEs to the new format.
2018-11-19 22:00:35 -05:00
Donovan Glover
f3d129362e
misc: Update docs
Made dependency lists a bit more consistent and reverted some of the
Arch Linux wording since it felt a bit off. Even the official website
refers to Arch Linux as Arch from time to time.
2018-10-31 13:03:41 -04:00
Donovan Glover
73e6cfec28
misc: Update dotfiles
lium and lfox are not needed anymore since I use rofi.
2018-10-27 15:48:08 -04:00
Donovan Glover
c3f85fc871
docs: Add READMEs for fish, vim, and xmodmap
Since I'd like other people to try my dotfiles, I will be writing
READMEs for each package directory, which should hopefully cover
anything a user needs to do in order to use the package.
2018-10-23 13:01:16 -04:00
Donovan Glover
3d541e96fd
stow: Add directories for fish, gpg, and tmux
Note that all these new directories are spread across multiple commits
since I don't want any one commit to be *too* big.
2018-10-22 15:17:19 -04:00
Donovan Glover
cb4278514d
Drop zsh support in favor of fish
Really, there is no reason to use zsh when fish exists, at least not for
my use case. Maintaining one set of shell config files is easier than
two, so I'm removing the zsh files.

Some other changes in this commit include:

- The addition of the current user and hostname to the fish prompt
- The addition of some zsh functions I re-implemented in fish
- The removal of the dircolors file (not needed with exa anyway)
- The removal of some aliases I never used
-
2018-09-07 13:30:22 -04:00
Donovan Glover
a3daa8ed67
Move zsh files to fish directory
In reality, zsh is not needed here and shouldn't be supported. Many
defaults of fish require hacky solutions to work in zsh; the investment
and maintenance needed is not worth it.

Eventually, zsh will be removed completely. This is the first step
towards accomplishing that goal.

Unused files and other commands will be simplified in attempt to make my
dotfiles more minimal and use the defaults, which helps a lot when using
a shell without my settings.
2018-09-05 20:35:41 -04:00
Donovan Glover
33f9dbfbf0
Change waterfox to firefox
As much as I enjoyed using Waterfox, the update to Firefox (and its
developer tools) is pretty nice. Since many add-ons now support this
new version of Firefox, I think it's now time to make the switch.
2018-08-31 15:05:07 -04:00
Donovan Glover
3da69d1dcb
Add exports to fish config 2018-04-11 23:25:38 -04:00
Donovan Glover
500983f369
Fix the fish prompt
set_color must be normal here to avoid the next character
not being the default color.
2018-04-08 16:00:15 -04:00
Donovan Glover
ce70ea53e9
Major refactor to the modularity between shells
This commit:

- Moves aliases to .aliases.sh. Aliases can now be used with
  both zsh and fish.
- Adds the ability to automatically create an upstream remote
  with the hub function.
- Finalizes the fish prompt to be consistent with zsh.
2018-02-26 23:56:29 -05:00
Donovan Glover
dd6cbe1ae8
Make the stow directory the root directory 2018-02-20 23:36:11 -05:00