Commit Graph

49 Commits

Author SHA1 Message Date
7078dcbe67 fish: Add utf16 conversion support
Similar to the previous commit, this makes dealing with files from Japan
easier.
2022-07-29 13:30:18 -04:00
6aae63d66f fish: Add shift_jis conversion support
A lot of files from Japan are encoded in the shift_jis character
encoding. This abbreviation makes it easy to change those files to utf8.
2022-07-29 13:27:44 -04:00
b0d63997db fish: Alias mv to mv -i
This is for peace of mind so we avoid accidentally moving something
where something already exists.
2022-07-28 10:57:16 -04:00
d4f214f5fb meta: Set the browser at the window manager level
This fixes an issue where the specified browser wouldn't be used when
dealing with a non-shell environment.
2022-07-28 03:00:49 -04:00
5ed54c3ec9 fish: Add go support
Note that the GOPATH is also a hidden directory now.
2022-07-28 02:59:08 -04:00
60ce281c8c fish: Add wal completions
I wrote a script that generated wal completions 4 years ago. Although
the patch was never merged, pywal is a great tool and I can still use
the completions personally, so I might as well add them here.
2022-04-12 10:16:37 -04:00
0e58d7478d fish: Add git clone abbreviation 2022-04-12 10:03:24 -04:00
f01915654c fish: Add fzf key bindings
This lets us do cool things like alt+c to easily cd into a directory
with fuzzy search.
2022-04-11 09:41:08 -04:00
37bdcdcf49 fish: Add abbreviation for df
Now we can get a useful version of df without having to remember the
options to use.
2022-04-11 09:07:02 -04:00
9674210774 fish: Ignore lost+found with exa
This makes browsing the root of ext4 partitions nicer.
2022-04-09 09:44:25 -04:00
b0b528f76b meta: Remove XDG_CURRENT_DESKTOP=KDE
This was cool when we had KDE-specific applications, but since I'm
prioritizing ranger and nautilus now, dolphin isn't needed. Since I'm
focusing heavily on terminal and web-based applications, there is less
need to customize KDE applications specifically.

Two other advantages to this is that I no longer have to manually update
the colors in kdeglobals, and most if not all of the environment can be
programmatically set up with minimal effort.
2022-03-22 09:34:19 -04:00
62c0fe97ac fish: Enable git discovery across filesystem
This is mainly to get rid of the warning when using "git status" where
git doesn't exist when the current partition isn't the same as the root
partition.
2022-03-11 10:06:04 -05:00
3f2e408ded fish: Add paru to abbreviations
Now it's possible to type "p" for paru instead of having to type
"pacman" or "sudo pacman". This is mostly for convenience, since I think
there's still some merit to typing things out the standard way.
2022-03-08 13:07:46 -05:00
4a627247a3 fish: Increase memory usage of node
This fixes an issue where we'd previously run out of memory while
developing with Gatsby.
2022-01-01 20:45:01 -05:00
92d31bfae4 fish: Specify ripgrep config path 2022-01-01 20:44:12 -05:00
da3bb48fe6 fish: Add deno, cargo, yarn, local to path
I added this a while ago but never committed it. Pretty useful for
software development.
2022-01-01 20:42:02 -05:00
0ea61dc6de fish: Remove task abbreviations
I no longer use task.
2022-01-01 20:33:16 -05:00
8b8788b835 Add starship
Note that I initially didn't use starship since I didn't like how it
used multiple lines, although it's fairly easy to configure to your
liking.
2021-07-07 10:22:36 -04:00
ca50b7646c fish: Remove git branch from prompt
This was cool but it breaks with the latest version of fish. Instead of
trying to fix this I'd rather use a less hacky solution.
2021-07-07 10:15:23 -04:00
06bd933fa8 fish: Use native hostname variable
$hostname is now defined by default so we don't need to do anything
here. I assume it wasn't always like this since otherwise I wouldn't
have needed to call `hostname` in the first place.
2021-05-14 19:00:12 -04:00
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
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
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
36f0364d45 fish: Add abbreviations for yarn 2019-01-15 23:01:57 -05:00
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
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
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
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
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
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
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
3b2fee629f fish: Add git merge and git tag abbreviations 2018-12-03 12:33:24 -05:00
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
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
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
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
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
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
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
73e6cfec28 misc: Update dotfiles
lium and lfox are not needed anymore since I use rofi.
2018-10-27 15:48:08 -04:00
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
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
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
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
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
3da69d1dcb Add exports to fish config 2018-04-11 23:25:38 -04:00
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
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
dd6cbe1ae8 Make the stow directory the root directory 2018-02-20 23:36:11 -05:00