mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
moved alias
This commit is contained in:
parent
ed81d767fa
commit
a818601c6e
3 changed files with 5 additions and 6 deletions
|
|
@ -1,2 +1,6 @@
|
||||||
{
|
{
|
||||||
|
hmup = "home-manager switch --flake '$HOME/Documents/projects/nixos#bryan'";
|
||||||
|
nixup = "sudo nixos-rebuild switch --flake '$HOME/Documents/projects/nixos#socrates'";
|
||||||
|
chat = "weechat";
|
||||||
|
open = "xdg-open";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,6 @@
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export DIRENV_LOG_FORMAT=
|
export DIRENV_LOG_FORMAT=
|
||||||
|
|
||||||
alias hmup="home-manager switch --flake '$HOME/Documents/projects/nixos#bryan'";
|
|
||||||
alias nixup="sudo nixos-rebuild switch --flake '$HOME/Documents/projects/nixos#socrates'";
|
|
||||||
alias chat="weechat";
|
|
||||||
alias open="xdg-open";
|
|
||||||
|
|
||||||
function cdg() {
|
function cdg() {
|
||||||
if [[ $1 == "--help" ]]; then
|
if [[ $1 == "--help" ]]; then
|
||||||
echo "A simple utility for navigating to the root of a git repo"
|
echo "A simple utility for navigating to the root of a git repo"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ in
|
||||||
bashrcExtra = import ./config/bashrc.nix;
|
bashrcExtra = import ./config/bashrc.nix;
|
||||||
shellAliases = import ./config/alias.nix;
|
shellAliases = import ./config/alias.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gpg-agent.enableBashIntegration = true;
|
services.gpg-agent.enableBashIntegration = true;
|
||||||
programs = {
|
programs = {
|
||||||
direnv = {
|
direnv = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue