Commit graph

101 commits

Author SHA1 Message Date
61e617e494 fish: Use full format listing for ps
Using ps -e is not that helpful since it does not show the full command
line which is what is helpful in filtering and distinguishing between
multiple processes. For eg. we might have multiple processes running
using python and to distinguish between them we need the full command
line invocation.
2021-11-08 12:31:17 +05:30
b0341831e9 fish: Fix flatpak complaining about XDG_DATA_DIRS 2021-10-29 19:58:14 +05:30
051856602c fish: Update cargo doc open command
Now that we set BROWSER correctly, we need not set this here.
2021-10-22 18:06:11 +05:30
84455420e5 fish: Unset and set BROWSER
For some reason, BROWSER always gets set to firefox instead of
firefox-wayland which is our own desktop file for starting firefox
in wayland.

Setting the systemd environment variables or using the env in desktop
file has not helped.
2021-10-22 16:07:08 +05:30
9bc28d47a3 fish: Start sway if running from tty1
sway seems to not start at all when using lightdm to login. We disabled
lightdm and now just use the login shell to start sway. sway never
recommended login managers so this was long due anyways.

See https://github.com/swaywm/sway/wiki#login-managers.
2021-10-22 15:43:57 +05:30
bf9e2bf54c fish: Add aliases for cargo build commands 2021-10-06 09:55:06 +05:30
241894eb50 fish: Use nvr instead of floaterm
nvr seems to allow opening a file at specified line just like with
regular nvim which seems to not work for floaterm. So when in neovim
terminal vgrep -s opens the file at correct line while in floaterm it
just opens the file and puts us at the first line. Basically something
like nvim +99 file.c does not work for floaterm.
2021-10-05 12:59:43 +05:30
cba3c92d06 fish: Add helpers for seeing & collecting perf data 2021-09-25 13:21:01 +05:30
2fb77b64bc fish: Add a rust-gdb helper command 2021-09-25 13:21:01 +05:30
a7e7ac968f fish: Add helpers for coredumpctl 2021-09-15 18:33:09 +05:30
f0f12d4294 fish: Add helpers for easing work with gdb 2021-08-13 18:35:03 +05:30
20ba60e50a fish: Add an alias for the icat kitten 2021-08-12 12:02:25 +05:30
6f13255bdd fish: Add helper to generate dot graph 2021-08-12 12:02:25 +05:30
6af6dfa93a fish: Add a helper to pipe command output to nvim 2021-08-06 14:04:45 +05:30
a148531d3f fish: Add shortcuts for searching with ripgrep within in a file
This is primarily to help us with grepping in gstreamer logs.
2021-07-12 18:05:48 +05:30
f99042dbfa fish: Do not set BROWSER environment variable 2021-05-21 11:12:02 +05:30
46cca9c391 fish: Delete all guix references 2021-05-02 11:20:01 +05:30
bdafd1eea3 fish: Drop lazygit alias
We do not use lazygit anymore.
2021-04-28 10:58:12 +05:30
f65f7ffb3f fish: Improve the alias to only have the fugitive buffer 2021-04-22 17:30:28 +05:30
cfea08a09a fish: Add an alias for opening fugitive in neovim
This gives us access to git status in fugitive easily to carry out
further git operations.
2021-04-07 20:31:37 +05:30
40aa550eaa fish: Add local bin to PATH
On Arch/Endeavour, local bin seems to be not set in PATH unlike Manjaro,
add this.
2021-03-20 11:44:17 +05:30
dfe344b2b9 fish: Set guix current profile as well
See this stack exchange post for details
https://unix.stackexchange.com/questions/561093/what-is-the-difference-between-guix-profile-and-config-guix-current

Without doing this 'guix describe' also gives an error. See
https://lists.gnu.org/archive/html/bug-guix/2019-05/msg00692.html
2021-03-18 20:01:45 +05:30
b7d8452110 fish: Add guix to pkg-config search path 2021-03-17 20:20:15 +05:30
ea34981998 fish: Add guix 2021-03-16 12:43:15 +05:30
62fa13f53e fish: Setup node version manager 2021-03-06 12:25:50 +05:30
41af9e1ea2 fish: Do not set enable wayland for firefox here
We will enable this via systemd environment.d support.
2021-03-03 13:05:46 +05:30
93726f564c fish/starship: Enable starship 2021-02-04 15:21:09 +05:30
b6279fe0cc fish: Add functions for git operations using fzf 2021-01-30 15:03:57 +05:30
8f8cf8c71d fish: Add an alias to source fish config 2021-01-30 15:03:57 +05:30
2470af80d8 fish: Update git add alias commands 2021-01-30 15:03:57 +05:30
a4296a5d7e fish: Use editor as floaterm inside a neovim floating terminal
Note that this works only in floaterm. Opening a terminal with
:terminal, will not have floaterm available in it.
2021-01-09 17:10:24 +05:30
df7118cc95 fish: Add shortcuts for opening relevant org files 2020-12-21 20:39:08 +05:30
4463aa2671 fish: Add an alias to emacsclient 2020-12-14 18:12:58 +05:30
c5311cd22e fish: Set TERM to xterm-kitty
We switched to kitty as default a while back, fix this.
2020-12-11 16:48:11 +05:30
ed49e0c4e3 fish: Add lg as an alias for lazygit 2020-12-10 13:09:27 +05:30
74fbeed89d Consistently set TERM as alacritty
This affects color rendering inside of tmux and also without tmux.
2020-11-18 13:14:08 +05:30
da93717582 fish: Enable wayland support in firefox by default
See https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland.
2020-11-17 14:26:04 +05:30
9823da33fe fish: config: Enable fzf key bindings
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-07-02 14:39:54 +05:30
6753d5a081 fish: We do not use gpg signing yet, use these for signoff
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-20 11:42:04 +05:30
61b3302a18 fish: config: Add helper functions for fzf + git
We can now use fzf to easily checkout a branch, commit or view logs.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-19 17:36:02 +05:30
5db0a2f0c2 fish: We use gwS mapping more frequently
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-19 15:42:03 +05:30
7f51f5d2d4 fish: Add git alias helpers for opening & adding unmerged files
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-05-03 21:46:52 +05:30
ac50a4efc1 fish: Add git aliases
Stolen from
https://github.com/sorin-ionescu/prezto/blob/master/modules/git/alias.zsh

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-04-03 11:55:08 +05:30
19f29eac28 fish: Remove google application credentials
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-08 16:10:12 +05:30
4e87559634 fish: Add cabal binary install location to PATH
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-02-05 13:01:13 +05:30
900f6cf0c2 Revert "fish: Enable vi key bindings as default"
This reverts commit 5ad9f571d4.

vi bindings are not helpful on command line. The default Ctrl-X like
bindings are better.
2020-01-16 09:29:46 +05:30
d023335a58 fish: Add some git helpers
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-13 19:34:08 +05:30
5ad9f571d4 fish: Enable vi key bindings as default
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-06 11:46:42 +05:30
f34ad2fca9 fish: Add aliases for frequently used systemd commands
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-05 18:49:37 +05:30
e5ff77990d fish: Add some more aliases for tmux 2020-01-03 15:25:45 +05:30
9cb59e82fc fish: Add fish shell config
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-01-02 08:06:00 +05:30