1
0
forked from extern/nix-config
Commit Graph

22 Commits

Author SHA1 Message Date
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